AND PICK KIT 2 is also showing verification of program memory failed at address 0x00000?
i think i should buy new kit.
i have pick kit 2 from robokits india website 2 year back.
Is this setting correct?
(notice the "B")
When you say TRISA is set to analog, is that something special for C? In Assembly, TRIS sets the port direction. Ports are by default analog.
I don't know why we are guessing what micro you are using!!!
Assuming a pic16 (mid range )... You code runs fine.... It runs too fast without the delays, but it works..