Member Since: March 2, 2006
Country: United States
Tutorial - CCS811 Air Quality Breakout Hookup Guide about 8 years ago
Hi - Just a small typo I noticed in the first loop() example code
void loop()
{
if (myCCS811.dataAvailable())
{
myCCS811.readAlgorithmResults();
int tempCO2 = myCCS811.getCO2();
int tempVOC = myCCS811.getTVOC(); // <---- TYPO corrected here getTVOC() instead of gettVOC()
}
else if (myCCS811.checkForStatusError())
{
while(1);
}
delay(1000); //Wait for next reading
}