File tree 8 files changed +11
-10
lines changed
libraries/ESP32/examples/Zigbee
8 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Arduino-ESP32 Zigbee Light Bulb Example
2
2
3
3
This example shows how to configure the Zigbee end device and use it as a HA on/off light bulb.
4
- This example is based on ESP-Zigbee-SDK example esp_zigbee_HA_sample/HA_on_off_light.
4
+
5
+ ** This example is based on ESP-Zigbee-SDK example esp_zigbee_HA_sample/HA_on_off_light.**
5
6
6
7
# Supported Targets
7
8
Original file line number Diff line number Diff line change 18
18
* The example demonstrates how to use ESP Zigbee stack to create a end device light bulb.
19
19
* The light bulb is a Zigbee end device, which is controlled by a Zigbee coordinator.
20
20
*
21
- * Please check the README.md for more detailed description.
21
+ * Proper Zigbee mode must be selected in Tools->Zigbee mode
22
+ * and also the correct partition scheme must be selected in Tools->Partition Scheme.
23
+ *
24
+ * Please check the README.md for instructions and more detailed description.
22
25
*/
23
26
24
27
#ifndef ZIGBEE_MODE_ED
@@ -170,9 +173,6 @@ static esp_err_t zb_attribute_handler(const esp_zb_zcl_set_attr_value_message_t
170
173
171
174
/* ******************** Arduino functions **************************/
172
175
void setup () {
173
- Serial.begin (115200 );
174
- while (!Serial);
175
-
176
176
// Init Zigbee
177
177
esp_zb_platform_config_t config = {
178
178
.radio_config = ESP_ZB_DEFAULT_RADIO_CONFIG (),
Original file line number Diff line number Diff line change 1
1
# Arduino-ESP32 Zigbee Light Switch Example
2
2
3
3
This example shows how to configure Zigbee Coordinator and use it as an HA on/off light switch.
4
- This example is based on ESP-Zigbee-SDK example esp_zigbee_HA_sample/HA_on_off_switch.
4
+
5
+ ** This example is based on ESP-Zigbee-SDK example esp_zigbee_HA_sample/HA_on_off_switch.**
5
6
6
7
# Supported Targets
7
8
Original file line number Diff line number Diff line change 19
19
* The light bulb is a Zigbee end device, which is controlled by a Zigbee coordinator.
20
20
* Button switch and Zigbee runs in separate tasks.
21
21
*
22
- * Please check the README.md for more detailed description.
22
+ * Proper Zigbee mode must be selected in Tools->Zigbee mode
23
+ * and also the correct partition scheme must be selected in Tools->Partition Scheme.
23
24
*
25
+ * Please check the README.md for instructions and more detailed description.
24
26
*/
25
27
26
28
#ifndef ZIGBEE_MODE_ZCZR
@@ -279,9 +281,6 @@ static void switch_button_detected(void *arg)
279
281
280
282
/* ******************** Arduino functions **************************/
281
283
void setup () {
282
- Serial.begin (115200 );
283
- while (!Serial);
284
-
285
284
// Init Zigbee
286
285
esp_zb_platform_config_t config = {
287
286
.radio_config = ESP_ZB_DEFAULT_RADIO_CONFIG (),
You can’t perform that action at this time.
0 commit comments