„README.md“ ändern

This commit is contained in:
Michael Clemens 2021-12-08 20:39:31 +01:00
parent 1c1918f227
commit fd3a7f361b
1 changed files with 13 additions and 1 deletions

View File

@ -37,7 +37,7 @@ This is how the display looks like in action:
## Configuration
Edit the following lines inside the Arduino sketch:
Rename the file _config.h_dist_ to _config.h_ and edit the following lines:
```
const char* ssid = "<ENTER_HERE_YOUR_WIFI_SSID>";
@ -45,6 +45,18 @@ const char* password = "<PASSWORD>";
String api_base_url = "http://<ENTER_HERE_THE_IP_OF_YOUR API_SERVER>:5000";
```
Example: If your wifi is named "hamradio", your wifi password is "hamradio4life" and the IP address of your server is "192.168.1.100", your config should look like this:
```
const char* ssid = "hamradio";
const char* password = "hamradio4life";
String api_base_url = "http://192.168.1.100:5000";
```
## Installation
Add the files to your Arduino IDE, install all necessary libraries, configure the board and USB/serial port, compile the sketch and then upload it.
## Error handling
* If wifi is unavailable or misconfigured, the device will show "No Wifi!" on the screen