ioio.lib.api
Class Sequencer.ChannelConfigSteps

java.lang.Object
  extended by ioio.lib.api.Sequencer.ChannelConfigSteps
All Implemented Interfaces:
Sequencer.ChannelConfig
Enclosing interface:
Sequencer

public static class Sequencer.ChannelConfigSteps
extends java.lang.Object
implements Sequencer.ChannelConfig

Configuration for a channel of type steps.

Steps channels are channels in which fixed-width pulses are generated with varying frequency, which corresponds to the actuator speed. A good example is a stepper motor in an application which requires position control. Unlike the FM speed channel, steps channels will generate a deterministic number of steps in a given duration, as well as allow changing the time-base on every cue. See Sequencer.ChannelCueSteps for a discussion on number of steps calculation. A steps channel will idle (not produce any pulses) during a stall event.


Field Summary
 DigitalOutput.Spec[] pinSpec
          Specification of the output pin(s) for this channel.
 
Constructor Summary
Sequencer.ChannelConfigSteps(DigitalOutput.Spec... pinSpec)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pinSpec

public final DigitalOutput.Spec[] pinSpec
Specification of the output pin(s) for this channel.

Constructor Detail

Sequencer.ChannelConfigSteps

public Sequencer.ChannelConfigSteps(DigitalOutput.Spec... pinSpec)
Constructor.

Parameters:
pinSpec - See pinSpec.