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