这里会显示出您选择的修订版和当前版本之间的差别。
| — |
en:arduino:libraries:steppersetspeed [2016/12/25 22:15] (当前版本) |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== 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) | ||
| + | [[en:arduino:libraries|Reference Home]] | ||