Changed type of RL internally to fix bug #37

This commit is contained in:
miguel5612 2022-03-20 09:44:30 -05:00
parent 700d367d93
commit 1f8310a6e7

View File

@ -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