button

xod/common-hardware/button

Reads a generic button or another mechanical switch. It is expected that the button is normally high, i.e. it is pulled up with a resistor. The node provides signal debounce with 20 ms settle delay.
button
@/button
Reads a generic button or another mechanical switch. It is expected that the button is normally high, i.e. it is pulled up with a resistor. The node provides signal debounce with 20 ms settle delay.
PORTport
Board port number the button is connected to.
UPDpulse
Triggers new read
button
PRSPRSDONEDONEERRERRPORTPORTUPDUPD
ERRpulse
Fires if update failed.
DONEpulse
Fires on reading complete
PRSboolean
Last read value. Equals to `true` while the button is pressed (hold down) and `false` while it is released.