You may want to read this. It explains ADCON and CMCON.BTW, I believe "CMCON = 7" would be a moot entry. "ADCON1 = 7" makes ports A and E digital I/O rather than analog.
http://www.picbasic.co.uk/forum/showthread.php?t=561
You may want to read this. It explains ADCON and CMCON.BTW, I believe "CMCON = 7" would be a moot entry. "ADCON1 = 7" makes ports A and E digital I/O rather than analog.
http://www.picbasic.co.uk/forum/showthread.php?t=561
Dave
Always wear safety glasses while programming.
Bookmarks