- Add hardware event callback, rc.setHardwareStateCallback().
- The hardware state callback will be trigger when the button has been clicked.
- Find the method of the corresponded hardware such as getC1Button.
- Write down your logic you want to execute inside this method.
How to customized the C1 button?
Followclose
Comments
0 comments
Please sign in to leave a comment.