Open GoogleCodeExporter opened 9 years ago
Note: to make Peter's voltmeter work on a 2560, change the ADMUX settings to
the following:
ADMUX = _BV(REFS0) | _BV(MUX4)| _BV(MUX3) | _BV(MUX2) | _BV(MUX1);
Original comment by tom.i...@gmail.com
on 10 Feb 2012 at 7:17
Tested the voltmeter on a Mega1280,Mega2560, Mega328, and Mega168. With one or
the other of those ADMUX lines, it works great.
Original comment by tom.i...@gmail.com
on 10 Feb 2012 at 7:20
[deleted comment]
I think it is worth mentioning that the internal voltage reference is not a
precision reference. For example, the new Leonardo board uses a ATmega32U4
which has an accurate of +/-200mV on the 2.56V reference.
Original comment by mkwi...@gmail.com
on 11 Jun 2012 at 7:00
Original issue reported on code.google.com by
tom.i...@gmail.com
on 10 Feb 2012 at 6:07