Toggle switches
toggle()
A simple, latching toggle. The button numer is the one you set in your matrix setup.
toggleP()
The toggle switch will give a short button pulse upon moving from on->off or from off->on position. When standing still in on or off position, no button is pressed.
toggleM()
Toggle switch with two modes:
0: Latching toggle
1: Pulse toggle
Uses the button field.
Last updated