This commit is contained in:
Alexander 2024-07-17 01:17:16 -04:00 committed by GitHub
parent b2f34db70d
commit 7e09d084d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,12 +19,20 @@ Specify project name, directory path and ESP32 module (ESP32-WROOM or ESP32-C3).
<img alt="ESP-IDF. Create a New Project" src="https://github.com/alexandrebobkov/ESP-Nodes/blob/main/assets/Espressif-Rainmaker_002.png" width="70%"/>
On the next screen, specify ESP Rainmaker extention and select example code to start with. For this tutorial, an example code for //Switch// was selected. Click "Create project using template switch".
On the next screen, specify ESP Rainmaker extention and select example code to start with. For this tutorial, an example code for _ _Switch_ _ was selected. Click "Create project using template switch".
<img alt="ESP-IDF. Create a New Project" src="https://github.com/alexandrebobkov/ESP-Nodes/blob/main/assets/Espressif-Rainmaker_003.png" width="70%"/>
### Modify Template Code
Make the following changes to app_main.cpp source file.
Change the TAG variable as follows:
```C++
static const char *TAG = "ESP32-Nodes app main";
```
<img alt="ESP-IDF. Create a New Project" src="https://github.com/alexandrebobkov/ESP-Nodes/blob/main/assets/Espressif-Rainmaker_004.png" width="70%"/>
<img alt="ESP-IDF. Create a New Project" src="https://github.com/alexandrebobkov/ESP-Nodes/blob/main/assets/Espressif-Rainmaker_005.png" width="70%"/>