Sensor Arduino ESP8266 or ESP-32 User Manual Sensor manufacturers Contributing Authors Be a sponsor 💖 Getting Started //Include the library #include <MQUnifiedsensor.h> /***Hardware Related Macros***/ #define Board ("Arduino UNO") #define Pin (A4) //Analog input 4 of your arduino /*...
//Include the library #include <MQUnifiedsensor.h> /***Hardware Related Macros***/ #define Board ("Arduino UNO") #define Pin (A4) //Analog input 4 of your arduino /***Software Related Macros***/ #define Type ("MQ-4") //MQ4 #define Voltage_Resolution (5) #define ADC_Bit_Resolut...