Reference

toggle(9)

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

NAME

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

SYNOPSIS

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

DESCRIPTION

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

FUNCTIONS

toggle.N

PINS

toggle.N.in bit in

button input

toggle.N.out bit io

on/off output

PARAMETERS

toggle.N.debounce u32 rw (default: 2)

debounce delay in periods

AUTHOR

John Kasunich

LICENSE

GPL

History