Hello Armadus,
Without seeing your work we can only take guesses. Do you have a .1uF cap across the Gnd and Vdd of the PIC? Do you have a good clean 5vdc power source? What does your program have at the end? (Goto Start?) Do you have the WDT enabled?
I could go on like this for a while.
HTH,
BobK
Bookmarks