RADIOBUTTON

NAME
SYNOPSIS
DESCRIPTION
FUNCTIONS
PINS
AUTHOR
LICENSE

NAME

radiobutton - Select one from several outputs with momentary switches

SYNOPSIS

loadrt radiobutton [count=N|names=name1[,name2...]] [personality=P1,P2,...]

DESCRIPTION

This component creates personality inputs to select one of several outputs. When sel-N is momentarily set high then the corresponding bit output out-N will be set high and other outputs will be set low. Simultaneously the value on the pin input-N will be copied to the value pin. The selected pin will indicate which set of outputs is currently active. Note that channel-0 should be used to provide the default values.

FUNCTIONS

radiobutton.N (requires a floating-point thread)

PINS

radiobutton.N.sel-MM bit in (MM=00..personality)

Inputs to select a channel

radiobutton.N.out-MM bit out (MM=00..personality)

output selected

radiobutton.N.selected s32 out (default: 0)

indicates which output is currently active

radiobutton.N.input-MM float in (MM=00..personality)

Possible output values

radiobutton.N.value float out

currently-selected output value

AUTHOR

Andy Pugh

LICENSE

GPL 2+