Connect the input to the corresponding pin. Then, set the channel using ADMUX. If you are following this code, CHANNEL should be set to 0B00000010 or 0x02
Hi sir I have implemented free running mode but the adc output do not change while potentiometer is turned. Output will be the first value and then the output doesn't change.
Thanks.
Please , Sir .How can read from A2?
Connect the input to the corresponding pin. Then, set the channel using ADMUX. If you are following this code, CHANNEL should be set to 0B00000010 or 0x02
Hi sir
I have implemented free running mode but the adc output do not change while potentiometer is turned.
Output will be the first value and then the output doesn't change.
I am using wokwi simulation