Click or drag to resize
IMotorSetSpeed Method
Sets the speed of the motor.

Namespace:  Adafruit.IoT.Motors
Assembly:  Adafruit.IoT (in Adafruit.IoT.dll) Version: 1.0.6.0 (1.0.6.0)
Syntax
void SetSpeed(
	double rpm
)

Parameters

rpm
Type: SystemDouble
The desired revolutions per minute speed of the motor.
Remarks
The desired speed of the motor is used to calculate the delays between steps for a stepper motor or the duty cycle of the power supplied to a DC motor.
See Also