Programming: ADC (Analog to Digital Converter) Getting the 8-bit Result after Conversion
Share
The result from an ADC conversion is located in the ADCH register. Make sure to enable left shift to get all of the 8-bit data in the ADCH register. The ADLAR bit in the ADMUX register controls the left and right shift for the ADCH and ADCL registers.