justDIY
- 22nd June 2004, 05:14
where can I find more information on what CMCON does?
to quote the PBP manual:
"This makes the pin functions on PORTA work in an unexpected manner. To change the pins to digital, simply add the line:
CMCON = 7
"
ok, so 7 sets PORTA to digital ... is that a decimal 7 then? what other values can cmcon have?
to quote the PBP manual:
"This makes the pin functions on PORTA work in an unexpected manner. To change the pins to digital, simply add the line:
CMCON = 7
"
ok, so 7 sets PORTA to digital ... is that a decimal 7 then? what other values can cmcon have?