public static class Sequencer.ChannelConfigBinary extends java.lang.Object implements Sequencer.ChannelConfig
A binary channel is a simple digital output, which is driven in synchronization with the sequence. Solenoids, DC motors running at full speed (no PWM) or LED are all examples for actuators that can be controlled by a binary channel. During a stall event, the channel can be configured to either retain its last state, or go to its initial state.
| Modifier and Type | Field and Description |
|---|---|
boolean |
initialValue
Initial value for this channel (true = HIGH, false = LOW).
|
boolean |
initWhenIdle
When true, channel will go to initial state when stalled or stopped.
|
DigitalOutput.Spec |
pinSpec
Specification of the output pin(s) for this channel.
|
| Constructor and Description |
|---|
Sequencer.ChannelConfigBinary(boolean initialValue,
boolean initWhenIdle,
DigitalOutput.Spec pinSpec)
Constructor.
|
public final DigitalOutput.Spec pinSpec
public final boolean initialValue
public final boolean initWhenIdle
public Sequencer.ChannelConfigBinary(boolean initialValue,
boolean initWhenIdle,
DigitalOutput.Spec pinSpec)
initialValue - See initialValue.initWhenIdle - See initWhenIdle.pinSpec - See pinSpec.