We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb4d02 commit b4c83b8Copy full SHA for b4c83b8
src/components/i2c/drivers/WipperSnapper_I2C_Driver_SCD4X.h
@@ -64,6 +64,12 @@ class WipperSnapper_I2C_Driver_SCD4X : public WipperSnapper_I2C_Driver {
64
return false;
65
}
66
67
+ // Takes 5seconds to have data ready, don't queue read until then
68
+ ulong currentTime = millis() - 25000uL; // T-25s, so 5s time for 30s polling
69
+ this->setSensorCO2PeriodPrv(currentTime);
70
+ this->setSensorAmbientTempFPeriodPrv(currentTime);
71
+ this->setSensorAmbientTempPeriodPrv(currentTime);
72
+ this->setSensorRelativeHumidityPeriodPrv(currentTime);
73
return true;
74
75
0 commit comments