Browse Source

changed readme

tags/v0.1.0
Simon Schmidt 2 years ago
parent
commit
86ad3211b4
2 changed files with 21 additions and 3 deletions
  1. 20
    2
      README.md
  2. 1
    1
      src/main.cpp

+ 20
- 2
README.md View File

@@ -1,2 +1,20 @@
# wifi credentials
need to create wifi_credentials.h from template.h
### Steps to run it

#### create wifi_credentials.h

__TEMPLATE__
```cpp
#ifndef __WIFI_CREDENTIALS_H
#define __WIFI_CREDENTIALS_H

#ifndef STASSID
#define STASSID "ssid"
#define STAPSK "key"
#endif

#endif // __WIFI_CREDENTIALS_H
```

#### platformio.ini
change IP of esp8266 accordingly
IP gets printed on Serial Monitor after first Upload

+ 1
- 1
src/main.cpp View File

@@ -164,8 +164,8 @@ void setup() {


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

server.handleClient();
}

Loading…
Cancel
Save