This is PROTON PDS. As usual, the PORTA have some multiplexed analog stuff on PORTA that MUST be disable first.
ADCON1=7
or
ALL_DIGITAL = TRUE
should do the trick. Also, you should set your config fuses. something like
The right forum for you will be www.picbasic.org/forumCode:REMINDERS=FALSE Config LVP_OFF, HS_OSC, WDT_OFF
Bookmarks