save state for my oop in aduino

This commit is contained in:
Dano van den Bosch
2024-03-19 12:17:39 +01:00
parent ac7d97c890
commit a8f6491736
8 changed files with 92 additions and 17 deletions

View File

@@ -0,0 +1,18 @@
#include "arduino.h"
#include "nodeCodeHeader.h"
nodeReadings::nodeReadings() {
}
void nodeReadings::resetValues() {
counter = 0;
eCO2 = 0;
TVOC = 0;
temperature = 0;
humidity = 0;
currentMillis = 0;
lastMillis = 0;
errorSGP30 = false;
errorDHT11 = false;
noise = false;
}