laurb9/tiny_scope

autodetect AREF by comparing to internal reference

laurb9 opened this issue · 1 comments

The 328P has an internal voltage reference of 1.2V. We can use that to autodetect the Vcc (3.3 or 5V).
This would not work with an external voltage divisor though, so support for that should also be added (VDIV=1, VDIV=10 etc).

Completed for Arduino, minus the external voltage divisor which I'm not going to do now.