I am having problems in getting ADC to measure input value.
The ADC doesn't seemed to be working at all...I'm using proc expert to create the project)
PTA0 - ADC input (8 bit resolution)
PTB5 - Output (LED on/off)
When I measure more than 1/2 Vcc at PTA0, LED turns on.
Any input < 1/2 Vcc, LED turns off.
Any help on how to configure ADC is much appreciated.