Correct me if I'm wrong but if you divide a 10 bit result by 2, you get a 9 bit result. EG 1024/2 = 512. 8 bit max is 256 so you'd have to divide it by 4.
Correct me if I'm wrong but if you divide a 10 bit result by 2, you get a 9 bit result. EG 1024/2 = 512. 8 bit max is 256 so you'd have to divide it by 4.
you're correct, thiswas my hands playing catchup with the brainor dividing by two
Why all this manipolation loosing valuable information contained in the 10 bits ADC, when you can store the whole 10 bits in the eeprom.
Write 0,ADC.lowbyte
Write 1,ADC.highbyte
Will store
Read 0, ADC.lowbyte
Read 1,ADC.highbyte
Will retrive your word.
Cheers
Al.
All progress began with an idea
It'll also half the number of results that can be stored. Accuracy wasnt an issue, number of results was.
Bookmarks