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.
Bookmarks