|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectioio.lib.api.Sequencer.ChannelConfigBinary
public static class Sequencer.ChannelConfigBinary
Configuration for a binary channel.
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.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
Sequencer.ChannelConfigBinary(boolean initialValue,
boolean initWhenIdle,
DigitalOutput.Spec pinSpec)
Constructor. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final DigitalOutput.Spec pinSpec
public final boolean initialValue
public final boolean initWhenIdle
| Constructor Detail |
|---|
public Sequencer.ChannelConfigBinary(boolean initialValue,
boolean initWhenIdle,
DigitalOutput.Spec pinSpec)
initialValue - See initialValue.initWhenIdle - See initWhenIdle.pinSpec - See pinSpec.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||