From 1ce18124f07291374eac161af3bfe145e0199d4d Mon Sep 17 00:00:00 2001 From: Ronald Schaten Date: Wed, 24 Feb 2016 09:46:19 +0100 Subject: [PATCH] fix comments --- things.ino | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/things.ino b/things.ino index 7a91bfb..ccbac2b 100644 --- a/things.ino +++ b/things.ino @@ -19,7 +19,7 @@ extern "C" { //#define DHTTYPE DHT21 // DHT21 (AM2301) #define DHTTYPE DHT22 // DHT22 (AM2302) -// define your default values here, if there are different values in config.json, they are overwritten. +// define default values here, overwritten by values from config.json char mqtt_server[40]; char mqtt_port[6] = "1883"; char mqtt_topic[34] = "OutTopic"; @@ -185,8 +185,7 @@ void setup() { // set led pin as output pinMode(BUILTIN_LED, OUTPUT); - // start ticker with 0.5 because we start in AP mode and try to connect - ticker.attach(0.6, toggle_led); + ticker.attach(0.5, toggle_led); // toggle led slowly during initialization // clean FS, for testing //SPIFFS.format();