button-short-long-select

olivier-s68/button-short-long-select/button-short-long-select

The button is used to select an output for a menu or other function with a long press.
button-short-long-select
@/button-short-long-select
The button is used to select an output for a menu or other function with a long press.
PORTport
Board port number the button is connected to.
UPDpulse
Triggers new read
button-short-long-select
PORT
UPD
PRS
PRL
OUT
DONE
DONEpulse
Fires on reading complete
OUTboolean
Select menu (True: menu On False: menu Off)
PRLboolean
Long press output
PRSboolean
Short press output
To use the node in your project you should have the olivier-s68/button-short-long-select library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.