Or you could simply read the processor's datasheet, where the section on the ADC states:
ADC = (VIN * 1024) / VREF
and
"0x000 represents analog ground, and 0x3FF represents the selected reference voltage minus one LSB."
Or you could simply read the processor's datasheet, where the section on the ADC states:
ADC = (VIN * 1024) / VREF
and
"0x000 represents analog ground, and 0x3FF represents the selected reference voltage minus one LSB."