Looking at the PICDEM2+ schematic some more, it seems that there might be a conflict with PORTB.0
<img src=http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1794&stc=1&d=118289364 1>
With J6 installed (has to be for the LED on PORTB.2), the LED on PORTB.0 may not allow the voltage to rise far enough to register a HIGH level.
<br>
Bookmarks