Programming: ADC (Analog to Digital Conversion) Capturing the 10-bit ADC result and Displaying the Result on the LCD
to get the 10-bit number from the ADC conversion, the ADCL (ADC Low Data Byte) is read first (must be read first) and stored into another variable. The remaining data is located in the ADCH (ADC High Data Byte) and is moved 8 positions to the left so there is room for the ADCL variable byte. That result is stored in another variable and is sent to the LCD.
Comments and Additional Information
Have some code to share? Or additional information? Respond here:
You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.