File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
libraries/Matter/examples/MatterComposedLights Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ MatterOnOffLight OnOffLight1;
99MatterOnOffLight OnOffLight2;
1010MatterOnOffLight OnOffLight3;
1111
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+
1216// Matter Protocol Endpoint Callback for each Light Accessory
1317bool setLightOnOff1 (bool state) {
1418 Serial.printf (" CB-Light1 changed state to: %s\r\n " , state ? " ON" : " OFF" );
@@ -25,11 +29,6 @@ bool setLightOnOff3(bool state) {
2529 return true ;
2630}
2731
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-
3332void setup () {
3433 Serial.begin (115200 );
3534 while (!Serial) {
You can’t perform that action at this time.
0 commit comments