From 65a1246e511e3e01af62f98d4202c6d52eed97e2 Mon Sep 17 00:00:00 2001 From: miguel5612 Date: Mon, 30 Mar 2020 19:51:23 -0500 Subject: [PATCH] Fixed ESP8266 volt resolution 3.3 --- examples/ESP8266/ESP8266.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ESP8266/ESP8266.ino b/examples/ESP8266/ESP8266.ino index ed94cca..0cd227b 100644 --- a/examples/ESP8266/ESP8266.ino +++ b/examples/ESP8266/ESP8266.ino @@ -27,7 +27,7 @@ #define Pin (A3) //Analog input 3 of your arduino /***********************Software Related Macros************************************/ #define Type ("MQ-3") //MQ3 -#define Voltage_Resolution (5) +#define Voltage_Resolution (3.3) // 3V3 <- IMPORTANT #define ADC_Bit_Resolution (10) // For arduino UNO/MEGA/NANO /*****************************Globals***********************************************/