mirror of
https://github.com/miguel5612/MQSensorsLib.git
synced 2025-03-15 05:17:30 +03:00
Comments fixation
This commit is contained in:
parent
3d1bb90e38
commit
5ce115435a
@ -23,7 +23,7 @@
|
||||
//Definitions
|
||||
#define placa "Arduino UNO"
|
||||
#define Voltage_Resolution 5
|
||||
#define pin A0 //Analog input 0 of your arduino
|
||||
#define pin A3 //Analog input 3 of your arduino
|
||||
#define type "MQ-3" //MQ3
|
||||
#define ADC_Bit_Resolution 10 // For arduino UNO/MEGA/NANO
|
||||
//#define calibration_button 13 //Pin to calibrate your sensor
|
||||
|
@ -19,7 +19,7 @@
|
||||
//Definitions
|
||||
#define placa "Arduino UNO"
|
||||
#define Voltage_Resolution 5
|
||||
#define pin A2 //Analog input 0 of your arduino
|
||||
#define pin A2 //Analog input 2 of your arduino
|
||||
#define type "MQ-2" //MQ2
|
||||
#define ADC_Bit_Resolution 10 // For arduino UNO/MEGA/NANO
|
||||
|
||||
|
@ -25,9 +25,9 @@
|
||||
//Definitions
|
||||
#define placa "ESP8266" //NodeMcu, WeMos D1, TTGo, ESP32.. etc
|
||||
#define Voltage_Resolution 3.3
|
||||
#define pin A0 //Analog input 0 of your arduino
|
||||
#define pin A0 //Analog input 0 of your ESP Board
|
||||
#define type "MQ-3" //MQ3
|
||||
#define ADC_Bit_Resolution 10 // For arduino UNO/MEGA/NANO
|
||||
#define ADC_Bit_Resolution 10 // For ESP8266
|
||||
|
||||
//Declare Sensor
|
||||
MQUnifiedsensor MQ3(placa, Voltage_Resolution, ADC_Bit_Resolution, pin, type);
|
||||
|
@ -19,7 +19,7 @@
|
||||
//Definitions
|
||||
#define placa "Arduino UNO"
|
||||
#define Voltage_Resolution 5
|
||||
#define pin A4 //Analog input 0 of your arduino
|
||||
#define pin A4 //Analog input 4 of your arduino
|
||||
#define type "MQ-4" //MQ4
|
||||
#define ADC_Bit_Resolution 10 // For arduino UNO/MEGA/NANO
|
||||
#define RatioMQ4CleanAir 4.4 //RS / R0 = 4.4 ppm
|
||||
|
Loading…
x
Reference in New Issue
Block a user