debounce(boolean)

xod/core/debounce(boolean)

Debounces a boolean value. The `OUT` value would change only after a period of at least `Ts` seconds while which the input state `ST` has not changed. The node is useful to fight signal bouncing of mechanical switches.
debounce(boolean)
@/debounce(boolean)
Debounces a boolean value. The `OUT` value would change only after a period of at least `Ts` seconds while which the input state `ST` has not changed. The node is useful to fight signal bouncing of mechanical switches.
STboolean
Input bouncing boolean state.
Tsnumber
Debounce time in seconds.
debounce(boolean)
STSTTsTsOUTOUT
OUTboolean
Debounced value.