The compiler is OK.No errors.
May my programmer cause the problem?
Because the circuit and the program was working in the past.
Thanks
The compiler is OK.No errors.
May my programmer cause the problem?
Because the circuit and the program was working in the past.
Thanks
Melanie,
I check my circuit and it seems ok.
That is the diargam of it.
Please have a look.
Well, let's make sure your PIC is working...
Got an LED? Connect it say between PortB.0 with a series Resistor (anything between 220R and 470R) and Vss (0v).
After your LCD define put...
LED var PORTB.0
In your main loop, anywhere put...
Toggle LED
When the PIC runs, your LED should blink...
Dear Melanie,
You are right. My PIC is not working but I can not understand why?
I try to blink a led but nothing.Where is the problem with my code?
I attach my code and the hex file.
PLEASE HELP MEEEEEEEEEEEEEEEEEEEEEEE.
IS ALL THAT OK TO RUN MY PIC WITH INTERNAL OSC?
I have to write DEFINE OSC 4?
@ DEVICE pic16F628, INTRC_OSC_NOCLKOUT ' system clock options
@ DEVICE pic16F628, WDT_ON ' watchdog timer
@ DEVICE pic16F628, PWRT_ON ' power-on timer
@ DEVICE pic16F628, MCLR_OFF ' master clear options (internal)
@ DEVICE pic16F628, BOD_ON ' brown-out detect
@ DEVICE pic16F628, LVP_OFF ' low-voltage programming
@ DEVICE pic16F628, CPD_OFF ' data memory code Protect
@ DEVICE pic16F628, PROTECT_OFF ' program code protection
There is no attachment... nail it to your posting and I will check it...
Bookmarks