- Tue Aug 22, 2006 5:54 am
#17642
I'm not sure what the problem is... I looked through the datasheet for the LF8722 and all of your numbers look good to me. But there's got to be something wrong if you can't reliably read a 5k pot. I'm pretty much out of ideas; the only things I can think to check are the TRIS and PCFG bits, but I'm sure you've checked those a million times.
I use the MPLAB C18 compiler, so I'm probably not much help with the CCS source.
I use the MPLAB C18 compiler, so I'm probably not much help with the CCS source.