Browse Source

update readme

master
Simon Schmidt 3 years ago
parent
commit
3821724a06
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      README.md

+ 4
- 3
README.md View File



1. Download and install [Visual Studio Code](https://code.visualstudio.com/download) 1. Download and install [Visual Studio Code](https://code.visualstudio.com/download)
2. Install [PlatformIO IDE extension](https://platformio.org/install/ide?install=vscode) for Visual Studio Code 2. Install [PlatformIO IDE extension](https://platformio.org/install/ide?install=vscode) for Visual Studio Code
3. Create [wifi_credentials.h](include/wifi_credentials.h) from [templ_wifi_credentials.h](include/templ_wifi_credentials.h) in include/
3. Download sources from master branch, "zip" or "git clone"
4. Create [wifi_credentials.h](include/wifi_credentials.h) from [templ_wifi_credentials.h](include/templ_wifi_credentials.h) in include/


```cpp ```cpp
#ifndef __WIFI_CREDENTIALS_H #ifndef __WIFI_CREDENTIALS_H
#endif // __WIFI_CREDENTIALS_H #endif // __WIFI_CREDENTIALS_H
``` ```


4. Create [platformio.ini](platformio.ini) from [templ_platformio_ini](templ_platformio_ini)
5. Create [platformio.ini](platformio.ini) from [templ_platformio_ini](templ_platformio_ini)


```bash ```bash
$ cp templ_platformio_ini platformio.ini $ cp templ_platformio_ini platformio.ini
``` ```


5. __Uploading new firmware__
6. __Uploading new firmware__
```bash ```bash
# upload program via ota # upload program via ota
$ pio run -t upload $ pio run -t upload

Loading…
Cancel
Save