Usage of iot_button_register_cb() function in matter protocol
Posted: Sat Oct 19, 2024 6:18 am
I now need to define two buttons to send switch and dimming commands respectively, but I encountered some problems when registering the buttons. The log records are shown below:
My code is this:
Whenever I burn code into esp32c3, it keeps restarting. I don't know what happened. I hope someone can help me solve it. Thanks!!