From 7b41bb59fe47cd37e13d594dc9669c523de4dbfa Mon Sep 17 00:00:00 2001 From: Bernator Date: Mon, 9 Sep 2019 09:15:04 +0200 Subject: [PATCH] Update knx-hdc1008.ino --- examples/knx-hdc1008/knx-hdc1008.ino | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/knx-hdc1008/knx-hdc1008.ino b/examples/knx-hdc1008/knx-hdc1008.ino index bb7bebe..8fae316 100644 --- a/examples/knx-hdc1008/knx-hdc1008.ino +++ b/examples/knx-hdc1008/knx-hdc1008.ino @@ -21,10 +21,10 @@ uint32_t cyclSend = 0; // Entry point for the example void setup(void) { - SerialDBG.begin(115200); - ArduinoPlatform::SerialDebug = SerialDBG; + Serial.begin(115200); + ArduinoPlatform::SerialDebug = Serial; delay(5000); - SerialDBG.println("start"); + Serial.println("start"); #ifdef ARDUINO_ARCH_ESP8266 WiFiManager wifiManager; @@ -45,15 +45,15 @@ void setup(void) { cyclSend = knx.paramInt(0); - SerialDBG.print("Zykl. send:"); - SerialDBG.println(cyclSend); + Serial.print("Zykl. send:"); + Serial.println(cyclSend); } // start the framework. knx.start(); String output = "Timestamp [ms], temperature [°C], relative humidity [%]"; - SerialDBG.println(output); + Serial.println(output); } @@ -78,7 +78,7 @@ void loop(void) String output = String(millis()); output += ", " + String(temp); output += ", " + String(humi); - SerialDBG.println(output); + Serial.println(output); if (sendCounter++ == cyclSend) {