|
|
|
|
|
|
|
|
### Steps to run it |
|
|
### Steps to run it |
|
|
|
|
|
|
|
|
#### create wifi_credentials.h |
|
|
|
|
|
|
|
|
##### create "template/wifi_credentials.h" |
|
|
|
|
|
|
|
|
__TEMPLATE__ |
|
|
|
|
|
```cpp |
|
|
```cpp |
|
|
#ifndef __WIFI_CREDENTIALS_H |
|
|
#ifndef __WIFI_CREDENTIALS_H |
|
|
#define __WIFI_CREDENTIALS_H |
|
|
#define __WIFI_CREDENTIALS_H |
|
|
|
|
|
|
|
|
#endif // __WIFI_CREDENTIALS_H |
|
|
#endif // __WIFI_CREDENTIALS_H |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
#### platformio.ini |
|
|
|
|
|
|
|
|
##### platformio.ini |
|
|
change IP of esp8266 accordingly |
|
|
change IP of esp8266 accordingly |
|
|
IP gets printed on Serial Monitor after first Upload |
|
|
IP gets printed on Serial Monitor after first Upload |