toggle - ’push-on, push-off’ from momentary pushbuttons
loadrt toggle [count=N|names=name1[,name2...]] |
┐ ┌──┐ ┌──┐
in : └─────┘ └────────┘ └──
┐ ┌───────────┐
out: └─────┘ └─────
toggle.N
toggle.N.in bit in
button input
toggle.N.out bit io
on/off output
toggle.N.debounce u32 rw (default: 2)
debounce delay in periods
John Kasunich
GPL