Browse Source

arrrgh

tags/v0.1.0
Simon Schmidt 3 years ago
parent
commit
36574c2c9f
3 changed files with 2 additions and 3 deletions
  1. 1
    1
      README.md
  2. 1
    0
      platformio.ini
  3. 0
    2
      src/main.cpp

+ 1
- 1
README.md View File

### 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

+ 1
- 0
platformio.ini View File

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

+ 0
- 2
src/main.cpp View File

} }





void setup_webserver() { void setup_webserver() {
pinMode(led, OUTPUT); pinMode(led, OUTPUT);
digitalWrite(led, 0); digitalWrite(led, 0);




void loop() { void loop() {
Serial.println("");
ArduinoOTA.handle(); ArduinoOTA.handle();
server.handleClient(); server.handleClient();

Loading…
Cancel
Save