@@ -1,6 +1,6 @@ | |||
### Steps to run it | |||
##### create "template/wifi_credentials.h" | |||
##### create "include/wifi_credentials.h" | |||
```cpp | |||
#ifndef __WIFI_CREDENTIALS_H |
@@ -12,6 +12,7 @@ | |||
platform = espressif8266 | |||
board = esp01_1m | |||
framework = arduino | |||
monitor_speed = 115200 | |||
; stuff for OTA | |||
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update |
@@ -67,7 +67,6 @@ void handleNotFound() { | |||
} | |||
void setup_webserver() { | |||
pinMode(led, OUTPUT); | |||
digitalWrite(led, 0); | |||
@@ -164,7 +163,6 @@ void setup() { | |||
void loop() { | |||
Serial.println(""); | |||
ArduinoOTA.handle(); | |||
server.handleClient(); |