Correct data type for voltage resolution

pull/9/head
aetilius 6 years ago committed by GitHub
parent a9aba676e2
commit cfe8ccc6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -276,7 +276,7 @@ class MQUnifiedsensor
int _pin, _type, _lecturePosInArray; int _pin, _type, _lecturePosInArray;
double _R0; double _R0;
String _nameLectureRequeired; String _nameLectureRequeired;
int _VOLT_RESOLUTION = 5.0; // if 3.3v use 3.3 float _VOLT_RESOLUTION = 5.0; // if 3.3v use 3.3
int _RLValue = 10; //Value in KiloOhms int _RLValue = 10; //Value in KiloOhms
float _PPM, _RS_Calc; float _PPM, _RS_Calc;
float _ratioInCleanAir, _sensor_volt, RS_air, _a, _b, _ratio; float _ratioInCleanAir, _sensor_volt, RS_air, _a, _b, _ratio;

Loading…
Cancel
Save