Skip to content

Commit

Permalink
Fixed board name
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel5612 committed Apr 4, 2020
1 parent ff0cb05 commit 952a456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ESP8266/ESP8266.ino
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
//Include the library
#include <MQUnifiedsensor.h>
/************************Hardware Related Macros************************************/
#define Board ("Arduino UNO")
#define Board ("ESP8266")
#define Pin (A0) //Analog input 3 of your arduino
/***********************Software Related Macros************************************/
#define Type ("MQ-3") //MQ3
#define Voltage_Resolution (3.3) // 3V3 <- IMPORTANT
#define ADC_Bit_Resolution (10) // For arduino UNO/MEGA/NANO
#define ADC_Bit_Resolution (10) // For ESP8266
#define RatioMQ3CleanAir (60)
/*****************************Globals***********************************************/
MQUnifiedsensor MQ3(Board, Voltage_Resolution, ADC_Bit_Resolution, Pin, Type);
Expand Down

0 comments on commit 952a456

Please sign in to comment.