fix comments
This commit is contained in:
parent
e38d330d77
commit
1ce18124f0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user