- Mon May 03, 2021 10:22 am
#225554
It appears that there is a setting for reading analog voltages missing or needs to be added.
Trying to read 0 to 3 volts on an analog input pin. Anything over a few hundred mV over ranges the readings. I've seen code that attempts to fix this but I can't get it to work.
The added line I have seen is:
analogReference(AR_VDD4);
Regards,
Kevin
Trying to read 0 to 3 volts on an analog input pin. Anything over a few hundred mV over ranges the readings. I've seen code that attempts to fix this but I can't get it to work.
The added line I have seen is:
analogReference(AR_VDD4);
Regards,
Kevin