创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


en:arduino:libraries:steppersetspeed

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

  • Stepper(steps, pin1, pin2)
  • Stepper(steps, pin1, pin2, pin3, pin4)
  • step(steps)

Reference Home

本页面的其他翻译:
en/arduino/libraries/steppersetspeed.txt · 最后更改: 2016/12/25 22:15 (外部编辑)