Changed type of RL internally to fix bug #37

pull/53/head
miguel5612 3 years ago
parent 700d367d93
commit 1f8310a6e7

@ -51,7 +51,7 @@ class MQUnifiedsensor
byte _pin;
byte _firstFlag = false;
float _VOLT_RESOLUTION = 5.0; // if 3.3v use 3.3
byte _RL = 10; //Value in KiloOhms
float _RL = 10; //Value in KiloOhms
byte _ADC_Bit_Resolution = 10;
byte _regressionMethod = 1; // 1 -> Exponential || 2 -> Linear

Loading…
Cancel
Save