Fixed ESP8266 volt resolution 3.3

pull/33/head
miguel5612 5 years ago
parent 28ce4c80f7
commit 65a1246e51

@ -27,7 +27,7 @@
#define Pin (A3) //Analog input 3 of your arduino #define Pin (A3) //Analog input 3 of your arduino
/***********************Software Related Macros************************************/ /***********************Software Related Macros************************************/
#define Type ("MQ-3") //MQ3 #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 #define ADC_Bit_Resolution (10) // For arduino UNO/MEGA/NANO
/*****************************Globals***********************************************/ /*****************************Globals***********************************************/

Loading…
Cancel
Save