You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configures the reference voltage used for analog input (i.e. the value used as the top of the input range). The options are:
21
21
22
-
Arduino AVR Boards (Uno, Mega, etc.)
22
+
Arduino AVR Boards (Uno, Mega, Leonardo, etc.)
23
23
24
24
* DEFAULT: the default analog reference of 5 volts (on 5V Arduino boards) or 3.3 volts (on 3.3V Arduino boards)
25
-
* INTERNAL: an built-in reference, equal to 1.1 volts on the ATmega168 or ATmega328P and 2.56 volts on the ATmega8 (not available on the Arduino Mega)
25
+
* INTERNAL: an built-in reference, equal to 1.1 volts on the ATmega168 or ATmega328P and 2.56 volts on the ATmega32U4 and ATmega8 (not available on the Arduino Mega)
26
26
* INTERNAL1V1: a built-in 1.1V reference (Arduino Mega only)
27
27
* INTERNAL2V56: a built-in 2.56V reference (Arduino Mega only)
28
28
* EXTERNAL: the voltage applied to the AREF pin (0 to 5V only) is used as the reference.
0 commit comments