My crystal ball tells me you may have some problem with the configuration fuses (internal OSC or not, MCLR enabled or not) AND/OR some features on some specific I/O.... like analog ... open drain...
to the rescue
http://www.picbasic.co.uk/forum/showthread.php?t=543
http://www.picbasic.co.uk/forum/showthread.php?t=561
http://www.picbasic.co.uk/forum/showthread.php?t=11116
Bookmarks