目录

Stepper: setSpeed(rpms)

Description

Sets the motor speed in rotations per minute (RPMs). This function doesn't make the motor turn, just sets the speed at which it will when you call step().

Parameters

rpms: the speed at which the motor should turn in rotations per minute - a positive number (long)

Returns

None

See also

Reference Home