mirror of
https://github.com/sigmasternchen/MH-Z-CO2-Sensors
synced 2025-03-15 06:38:55 +00:00
fixes wrong responsetimes for the sensors, it is seconds, not milliseconds according to the datasheet.
This commit is contained in:
parent
62b75d191b
commit
8d677f5dce
1 changed files with 2 additions and 2 deletions
4
MHZ.cpp
4
MHZ.cpp
|
@ -8,8 +8,8 @@
|
|||
const int MHZ14A = 14;
|
||||
const int MHZ19B = 19;
|
||||
|
||||
const int MHZ14A_RESPONSE_TIME = 60;
|
||||
const int MHZ19B_RESPONSE_TIME = 120;
|
||||
const int MHZ14A_RESPONSE_TIME = 60 * 1000;
|
||||
const int MHZ19B_RESPONSE_TIME = 120 * 1000;
|
||||
|
||||
const int STATUS_NO_RESPONSE = -2;
|
||||
const int STATUS_CHECKSUM_MISMATCH = -3;
|
||||
|
|
Loading…
Reference in a new issue