Skip to content

Commit 94e00fe

Browse files
committed
feat(example): Add missing header
1 parent db5d678 commit 94e00fe

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

libraries/Zigbee/examples/Zigbee_On_Off_MultiSwitch/Zigbee_On_Off_MultiSwitch.ino

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
// Copyright 2025 Espressif Systems (Shanghai) PTE LTD
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
/**
16+
* @brief This example demonstrates simple Zigbee multi-light switch.
17+
*
18+
* The example demonstrates how to use Zigbee library to control multiple light bulbs.
19+
* The light bulbs are Zigbee devices, which are controlled by a Zigbee coordinator/router (Multi-Switch).
20+
* Settings are stored in NVS to not be lost after power loss.
21+
* Configuring and controlling the lights is done via serial input.
22+
*
23+
* Proper Zigbee mode must be selected in Tools->Zigbee mode
24+
* and also the correct partition scheme must be selected in Tools->Partition Scheme.
25+
*
26+
* Please check the README.md for instructions and more detailed description.
27+
*
28+
* Created by Jan Procházka (https://github.com/P-R-O-C-H-Y/)
29+
*/
30+
31+
132
#ifndef ZIGBEE_MODE_ZCZR
233
#error "Zigbee coordinator mode is not selected in Tools->Zigbee mode"
334
#endif

0 commit comments

Comments
 (0)