public static interface BrickDC.VelocityReachedListener extends DeviceListener
BrickDC.VelocityReachedListener
listener will be triggered after about
2 seconds, when the set velocity is actually reached.
\note
Since we can't get any feedback from the DC motor, this only works if the
acceleration (see BrickDC.setAcceleration(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 |
velocityReached(short velocity) |
Copyright © 2022 Tinkerforge GmbH. All rights reserved.