How-To use this Project
- Download and install Visual Studio Code
- Install PlatformIO IDE extension for Visual Studio Code
- Create wifi_credentials.h from templ_wifi_credentials.h in include/
#ifndef __WIFI_CREDENTIALS_H
#define __WIFI_CREDENTIALS_H
#ifndef STASSID
#define STASSID "ssid"
#define STAPSK "key"
#endif
#endif // __WIFI_CREDENTIALS_H
- Create platformio.ini from templ_platformio_ini
$ cp templ_platformio_ini platformio.ini
- Uploading new firmware
# upload program via ota
$ pio run -t upload
# upload file system via ota
$ pio run -t uploadfs
# upload program via Serial Port
# Serial Port needs to be selected in platformio.ini
$ pio run -t upload -e serial
# upload file system via Serial Port
$ pio run -t uploadfs -e serial
Additional used sources and libraries in this project and DOKU.md
Description
Languages
C++
76.3%
C
10.9%
JavaScript
4.5%
HTML
3.2%
CSS
2.6%
Other
2.5%