Programming: ADC (Analog to Digital Converter) Getting the 8-bit Result after Conversion

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.



Back to blog

Leave a comment

Please note, comments need to be approved before they are published.