setSpeed(rpms)
描述
设定步进马达的每分钟转数(rotations per minute, RPMs)。呼叫该函式并不会让步进马达转动,该函式设定的是在呼叫 step()
使步进马达转动时的每分钟转数。
参数
rpms
:步进马达的每分钟转数,型态是 long
回传
无回传值
See also
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.