mirror of
https://github.com/anklimov/lighthub
synced 2026-01-31 18:49:06 +03:00
ccs811 co2 error suppressing
This commit is contained in:
@@ -156,10 +156,11 @@ int in_ccs811::Poll()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
if (co2<10000.) //Spontaneous calculation error suppress
|
||||||
|
{
|
||||||
publish(co2,"/CO2");
|
publish(co2,"/CO2");
|
||||||
publish(tvoc,"/TVOC");
|
publish(tvoc,"/TVOC");
|
||||||
publish(ccs811Baseline,"/base");
|
publish(ccs811Baseline,"/base");}
|
||||||
Serial.println("]");
|
Serial.println("]");
|
||||||
printSensorError();
|
printSensorError();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user