Fixed ESP8266 volt resolution 3.3

This commit is contained in:
miguel5612 2020-03-30 19:51:23 -05:00
parent 28ce4c80f7
commit 65a1246e51

View File

@ -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***********************************************/