DOKK / manpages / debian 13 / linuxcnc-uspace / toggle.9.en
TOGGLE(9) HAL Component TOGGLE(9)

toggle - 'push-on, push-off' from momentary pushbuttons

loadrt toggle [count=N|names=name1[,name2...]]

     ┐     ┌──┐        ┌──┐
in : └─────┘  └────────┘  └──
     ┐     ┌───────────┐
out: └─────┘           └─────

button input
on/off output

debounce delay in periods

John Kasunich

GPL

2025-04-13 LinuxCNC Documentation