mirror of
https://github.com/miguel5612/MQSensorsLib.git
synced 2025-03-14 21:07:36 +03:00
Value of _RLValue - Added getRL and setRL method
This commit is contained in:
parent
a14b14c449
commit
0f912a3c4a
@ -562,6 +562,14 @@ void MQUnifiedsensor::setR0(double R0) {
|
||||
double MQUnifiedsensor::getR0() {
|
||||
return _R0;
|
||||
}
|
||||
void MQUnifiedsensor::setRL(double RL) {
|
||||
this->_RLValue = RL;
|
||||
}
|
||||
|
||||
double MQUnifiedsensor::getRL() {
|
||||
return _RLValue;
|
||||
}
|
||||
|
||||
void MQUnifiedsensor::setDefaultGas()
|
||||
{
|
||||
if(_type == 2)
|
||||
|
@ -255,6 +255,7 @@ class MQUnifiedsensor
|
||||
void inicializar();
|
||||
void update();
|
||||
void setR0(double R0 = 10);
|
||||
void setRL(double RL = 10);
|
||||
void setVoltResolution(float voltaje = 5);
|
||||
void setSensorCharacteristics(String nameLectureReqeuired = "", bool print = false);
|
||||
void setDefaultGas();
|
||||
@ -265,6 +266,7 @@ class MQUnifiedsensor
|
||||
|
||||
//get function for info
|
||||
double getR0();
|
||||
double getRL();
|
||||
double getVoltage(int read = true);
|
||||
double stringToDouble(String & str);
|
||||
String getnameLecture();
|
||||
|
Loading…
x
Reference in New Issue
Block a user