Confusion in AVR ADC Output (10 bit / 8 bit)
1. How ADC 10 bit is converted to 8 bit in the code mentioned (According to some tutorials it is mentioned the ADLAR bit in ADMUX register must be set to 1.?
2. Any other way of doing this shifting?
3. What is the default setting of ADLAR is it 1 or 0?
Can anyone please help find where this conversion is happening in the code file attached?
Thanks in advance