Hi Picers
I have developed a few Pic projects without any problems in the past, but
now I'm struggeling with a simple LED Blinking project.
I have double check my circuit and replaced every component, but without any
luck.
The voltage on the MCLR pin is there, but the LED pin is dead, which tell me
that the pic did not start.
Attached is my PCB or it can be viewed at http://www.rieme.co.za/Question/PCB.gif.
Here is my code:
_________________________________________________
Include "Modedefs.bas"
DEFINE OSC 20 ' Set the Xtal frequency to 20mHz
MYLED Var PORTB.7 '
ADCON1 = 7
Main:
High MYLED
Pause 1000
Low MYLED
Pause 1000
goto Main
end
__________________________________________________
Thank you
Koos
Bookmarks