Closed slightlynybbled closed 6 years ago
Add on_click toggle functionality with the possibility for callbacks.
on_click
For instance, when user clicks an led that is red and off, then the LED turns on and calls any associated on callback.
red
on
LED can function as a simple indicator or can act as a latching push-button.
Add
on_click
toggle functionality with the possibility for callbacks.For instance, when user clicks an led that is
red
and off, then the LED turns on and calls any associatedon
callback.