Ok..... Heading South again (albeit walking backwards...When using 8 bit ADC we are after the MSB from ADRESH.
If we want 10 bit ADC we would grab a couple extra bits from ADRESL.)
I'll do this when I get back in later tonight (I'm off keyboard playing).......ah.Then.Try reversing the values from the original but use < with the ADC active.
Dave
Bookmarks