TOGGLE

NAME
SYNOPSIS
DESCRIPTION
FUNCTIONS
PINS
PARAMETERS
AUTHOR
LICENSE

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