Commit 906db479 authored by Melroy van den Berg's avatar Melroy van den Berg

Additional comments

parent e8701d61
Pipeline #1069 passed with stages
in 14 seconds
......@@ -27,7 +27,7 @@ Controller::Controller() {
this->absoluteHumidity = 0;
this->i2c_fd = OpenI2C();
// TODO: Init all other sensors as well during constructor
// TODO: Init all other sensors as well in the constructor
}
/**
......@@ -45,13 +45,14 @@ Controller::~Controller() {
void Controller::Loop() {
// TODO: Main loop, which will wait until all sensors are 'stable'
// TODO: Fetch all sensor data in regular intervals
// TOOD: Send to InfluxDB database (query)
// TOOD: Send to InfluxDB database (insert query)
// Eg. INSERT air_quality,machine=412 temperature=21.5,humidity=65.3,pressure=1023.0,dust1=3,dust2.5=5,dust10=2,tvoc=2,co2=421
//DoDustMeasurement();
//DoCO2Measurement();
DoCO2Measurement();
DoTempMeasurement();
DoGasMeasurement();
//DoGasMeasurement();
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment