14 years ago
Is there anyone using PIC16F916's lower half of portA (RA0~RA3) as
digital inputs? I have problem on these pins. I actually have RA0 as
analog input and RA1~RA4 as digital input. RA1~RA3 stuck low all the
time regardless the condition on the pin while RA4 is ok. I configured
the port as TRISA=0xFF, disabled LCD module by LCDEN=0 and configure
analog as ANSEL=0x01. Did I miss anything on RA1~RA3? I also
reassigned these 2 of the inputs to RA5 and RA6, they worked fine.