isMoving()
描述
機器是否正在移動中。
語法
machine.isMoving();
參數
machine
:為 Machine
物件。
無參數。
回傳
bool
:
true: 該機器移動中。
false: 該機器並非移動中。或者設定錯誤,代表機器不存在或者在機器啟動之後才做設定。
請確保機器存在,並確保對機器做設定必須在啟動機器之前。
See also
isDirectionReversed()
isValid()
The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.