SYNOPSIS
loadrt radiobutton [count=N|names=name1[,name2…]] [personality=P1[,P2…]]
DESCRIPTION
This component creates \fBpersonality\fR inputs to select one of several outputs. When \fBsel-N\fR is momentarily set high then the corresponding bit output \fBout-N\fR will be set high and other outputs will be set low. Simultaneously the value on the pin \fBinput-N\fR will be copied to the \fBvalue\fR pin. The \fBselected\fR 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
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+