I'm trying re-learn what I thought I understood 3 yrs ago.
I have a 16F877A with the A/D set-up for 10 Bits. Outputing the found value to an lcd.
For my 0-5v input, I have to do FoundValue=DEC adval0/64 in order for the 0-5vdc to equate to FoundValue of 0-1023 on the lcd.
Otherwise the DEC value goes up in increments of 64 to thirty some thousand.
I assume I have to use this FoundValue/64 in my calculations.
Thanks