diff --git a/libraries/ESP32/examples/AnalogRead/AnalogRead.ino b/libraries/ESP32/examples/AnalogRead/AnalogRead.ino index c238517d380..647e16ba8bd 100644 --- a/libraries/ESP32/examples/AnalogRead/AnalogRead.ino +++ b/libraries/ESP32/examples/AnalogRead/AnalogRead.ino @@ -2,7 +2,7 @@ void setup() { // initialize serial communication at 115200 bits per second: Serial.begin(115200); - //set the resolution to 12 bits (0-4096) + //set the resolution to 12 bits (0-4095) analogReadResolution(12); }