mirror of
https://github.com/miguel5612/MQSensorsLib.git
synced 2025-03-25 10:10:01 +03:00
Fixed ESP8266 volt resolution 3.3
This commit is contained in:
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…
x
Reference in New Issue
Block a user