Currently the 16F877. I have handy also other to try. Maybe a 18F452.
To be sure that Portb.0 is OK, I tested with a simple loop of the kind:
while portb.0=1
wend
high LED1
and worked OK. So electrically there is no problem.
PICDEM2+ is connected to ICD2 working in programmer mode only. So, there is for sure no other source of interference.
Skimask: could you post the link you mentioned? Thanks
Ioannis
Bookmarks