Skip to content

Commit 0db75ea

Browse files
authored
Update README.md - Documentation fix for #153
This is a change to the #152 This reflects the changes in the code within the documentation. (Shoutout to BrookeDot[https://github.com/BrookeDot] who suggested the change)
1 parent 2172d2f commit 0db75ea

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,23 +94,8 @@ code .
9494
4. **Prepare the Project**
9595

9696
- Perform a `PlatformIO: Clean` (Recycle bin icon at the bottom right).
97-
- Add a `secrets.h` file to the `include` directory. Modify passwords and save the file. Go in the next section for WiFi instructions.
98-
99-
```cpp
100-
#pragma once
101-
102-
#define WIFI_HOSTNAME ""
103-
104-
#ifdef ESP8266
105-
#define WIFI_SSID ""
106-
#define WIFI_PASSWORD ""
107-
#endif
108-
109-
#define OTA_USERNAME ""
110-
#define OTA_PASSWORD ""
111-
```
112-
113-
- Set variables inside `include/constants.h`.
97+
- Edit the secrets.h in the include directory with your WiFi information. If you are using an ESP32, you may skip the section ESP8266 and setup WiFi with the WiFi Manager. See the "[Configuring WiFi with WiFi manager](https://github.com/jaal2001/ikea-led-obegraensad-pr/edit/patch-3/README.md#configuring-wifi-with-wifi-manager)" section for instructions.
98+
- Set variables inside `include/constants.h`.
11499

115100
5. **Build the Project**
116101

0 commit comments

Comments
 (0)