arrrgh
This commit is contained in:
parent
9f5eb73d08
commit
36574c2c9f
@ -1,6 +1,6 @@
|
|||||||
### Steps to run it
|
### Steps to run it
|
||||||
|
|
||||||
##### create "template/wifi_credentials.h"
|
##### create "include/wifi_credentials.h"
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
#ifndef __WIFI_CREDENTIALS_H
|
#ifndef __WIFI_CREDENTIALS_H
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
board = esp01_1m
|
board = esp01_1m
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
monitor_speed = 115200
|
||||||
|
|
||||||
; stuff for OTA
|
; stuff for OTA
|
||||||
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
|
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
|
||||||
|
@ -67,7 +67,6 @@ void handleNotFound() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void setup_webserver() {
|
void setup_webserver() {
|
||||||
pinMode(led, OUTPUT);
|
pinMode(led, OUTPUT);
|
||||||
digitalWrite(led, 0);
|
digitalWrite(led, 0);
|
||||||
@ -164,7 +163,6 @@ void setup() {
|
|||||||
|
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
Serial.println("");
|
|
||||||
ArduinoOTA.handle();
|
ArduinoOTA.handle();
|
||||||
|
|
||||||
server.handleClient();
|
server.handleClient();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user