Fixed example

This commit is contained in:
miguel5612
2020-03-26 11:54:18 -05:00
parent 1177d5827d
commit 3ae663163b
3 changed files with 26 additions and 64 deletions

View File

@ -27,7 +27,7 @@ class MQUnifiedsensor
void serialDebug(bool onSetup = false); //Show on serial port information about sensor
//user functions
float calibrate();
float calibrate(float ratioInCleanAir);
float readSensor();
//get function for info
@ -42,7 +42,6 @@ class MQUnifiedsensor
byte _pin;
byte _firstFlag = false;
byte _VOLT_RESOLUTION = 5.0; // if 3.3v use 3.3
byte _ratioInCleanAir;
byte _RL = 10; //Value in KiloOhms
byte _ADC_Bit_Resolution = 10;