Thank you skimask,
but... I kinda want that 8 bit resolution. With Vref set at 2.55 volts, and using an LM34 temperature sensor outputing .01 volts per degree F, I get a digital number that corresponds very nicely with temperature... such that .8 volts in gives me a digital 80 out... representing 80 degrees F.
Dropping off the top two digits doesn't change the resolution... it just lops off the top end.
Can you help me figure out why it doesn't accept my statement:
DEFINE ADC_BITS 8
Thank you,
Ross
Never enough knowledge to be called intelligent but just enough knowledge to be considered dangerous!
I like that! :-)
Bookmarks