File tree 1 file changed +4
-5
lines changed
libraries/Matter/examples/MatterComposedLights
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ MatterOnOffLight OnOffLight1;
9
9
MatterOnOffLight OnOffLight2;
10
10
MatterOnOffLight OnOffLight3;
11
11
12
+ // WiFi is manually set and started
13
+ const char *ssid = " your-ssid" ; // Change this to your WiFi SSID
14
+ const char *password = " your-password" ; // Change this to your WiFi password
15
+
12
16
// Matter Protocol Endpoint Callback for each Light Accessory
13
17
bool setLightOnOff1 (bool state) {
14
18
Serial.printf (" CB-Light1 changed state to: %s\r\n " , state ? " ON" : " OFF" );
@@ -25,11 +29,6 @@ bool setLightOnOff3(bool state) {
25
29
return true ;
26
30
}
27
31
28
- // WiFi is manually set and started
29
-
30
- const char *ssid = " your-ssid" ; // Change this to your WiFi SSID
31
- const char *password = " your-password" ; // Change this to your WiFi password
32
-
33
32
void setup () {
34
33
Serial.begin (115200 );
35
34
while (!Serial) {
You can’t perform that action at this time.
0 commit comments