#ifndef __WIFI_CREDENTIALS_H
#define __WIFI_CREDENTIALS_H
#ifndef STASSID
#define STASSID "ssid"
#define STAPSK "key"
#endif
#endif // __WIFI_CREDENTIALS_H
$ cp templ_platformio_ini platformio.ini
# 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