public static interface BrickSilentStepper.PositionReachedListener extends DeviceListener
BrickSilentStepper.setSteps(int)
or
BrickSilentStepper.setTargetPosition(int)
is reached.
\note
Since we can't get any feedback from the stepper motor, this only works if the
acceleration (see BrickSilentStepper.setSpeedRamping(int, int)
) is set smaller or equal to the
maximum acceleration of the motor. Otherwise the motor will lag behind the
control value and the listener will be triggered too early.Modifier and Type | Method and Description |
---|---|
void |
positionReached(int position) |
Copyright © 2020 Tinkerforge GmbH. All rights reserved.