Hello Unregistered ,
Originally Posted by starwick Hi, the AN0 input is 0 unless a key is pressed If that's the case then why not generate an interrupt when the key (switch?) is pressed & then do an ADC in your interrupt routine.
Forum Rules
Bookmarks