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.