-
Couldn't load subscription status.
- Fork 1.2k
Rotation Speed Controller (Peripheral)
simibubi edited this page Jul 12, 2023
·
1 revision
| Method | Description |
|---|---|
setTargetSpeed(speed) |
Sets the target rotation speed |
getTargetSpeed() |
Gets the current target rotation speed |
Sets the rotation speed controller's target speed.
Parameters
-
speed:
numberThe target speed in RPM. Must be an integer within the range of [-256..256]. Values outside of this range will be clamped.
Gets the rotation speed controller's current target speed.
Returns
-
numberThe current target rotation speed in RPM.