Skip to content
Snippets Groups Projects
Commit ed686ed8 authored by René Ebeling's avatar René Ebeling
Browse files

new data

parent d30f79ad
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,10 @@ void setup() {
Serial.println("Initialized " + String(sensor_count) + " Sensors");
}
void loop1(){
Serial.println()
delay(500);
}
void loop() {
count++;
long timestamp = micros();
......@@ -220,9 +223,8 @@ void loop() {
processSensorData(sensor14, Results14, "sensor14", LPN_PIN5);
processSensorData(sensor15, Results15, "sensor15", LPN_PIN6);
processSensorData(sensor16, Results16, "sensor17", LPN_PIN8);
// Serialize the JSON document and print to Serial
//serializeJson(doc, Serial);
serializeJson(doc, Serial);
Serial.println();
long loopduration = micros() - timestamp;
......@@ -230,7 +232,6 @@ void loop() {
long averageloopduration = allduration/count;
Serial.println(averageloopduration);
Serial.println(count);
}
void i2cScanner(TwoWire DEV_I2C) {
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment