Arduino oop

This commit is contained in:
Dano van den Bosch
2024-03-13 15:03:11 +01:00
parent 7b6f8463cd
commit 3801b074f6
3 changed files with 256 additions and 2 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;
}