Yes, if you saved the MAX A/D value instead of the converted value.So, if eeprom it's like in picture :
75 (hex) = 117 (dec)
v_cal = 117 * 4,8875 = 572 mVolts ?
In that case, be sure to use the previous formula to convert it to voltage.
Code:v_cal=v_cal * 5000 ' I use VDD as Vref v_cal=div32 1023.
Bookmarks