Package com.tinkerforge
Interface BrickletSilentStepperV2.PositionReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletSilentStepperV2
public static interface BrickletSilentStepperV2.PositionReachedListener extends DeviceListener
This listener is triggered when a position set byBrickletSilentStepperV2.setSteps(int)
orBrickletSilentStepperV2.setTargetPosition(int)
is reached. \note Since we can't get any feedback from the stepper motor, this only works if the acceleration (seeBrickletSilentStepperV2.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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
positionReached(int position)
-