|
@ -76,7 +76,7 @@ class MHZ19Sensor : public BaseSensor { |
|
|
|
|
|
|
|
|
if (_serial) delete _serial; |
|
|
if (_serial) delete _serial; |
|
|
|
|
|
|
|
|
_serial = new SoftwareSerial(_pin_rx, _pin_tx, false, 32); |
|
|
|
|
|
|
|
|
_serial = new SoftwareSerial(_pin_rx, _pin_tx, false); |
|
|
_serial->enableIntTx(false); |
|
|
_serial->enableIntTx(false); |
|
|
_serial->begin(9600); |
|
|
_serial->begin(9600); |
|
|
calibrateAuto(_calibrateAuto); |
|
|
calibrateAuto(_calibrateAuto); |
|
|