public static class Sequencer.ChannelConfigFmSpeed extends java.lang.Object implements Sequencer.ChannelConfig
FM speed 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 speed control and not position control (for the latter see
Sequencer.ChannelConfigSteps). An FM speed channel will idle (not produce any pulses) during a
stall event.
| Modifier and Type | Field and Description |
|---|---|
Sequencer.Clock |
clk
The clock rate for this channel (cannot be changed on a per-cue basis).
|
DigitalOutput.Spec[] |
pinSpec
Specification of the output pin(s) for this channel.
|
int |
pulseWidth
The width (duration) of each pulse, in time-base units, determined by
clk. |
| Constructor and Description |
|---|
Sequencer.ChannelConfigFmSpeed(Sequencer.Clock clk,
int pulseWidth,
DigitalOutput.Spec... pinSpec)
Constructor.
|
public final DigitalOutput.Spec[] pinSpec
public final Sequencer.Clock clk
public final int pulseWidth
clk. Valid
values are [2..65536].public Sequencer.ChannelConfigFmSpeed(Sequencer.Clock clk, int pulseWidth, DigitalOutput.Spec... pinSpec)
clk - See clk.pulseWidth - See pulseWidth.pinSpec - See pinSpec.