DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:nxt_ismotoridle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:nxt_ismotoridle [2015/03/09 16:01] (current)
octazid created
Line 1: Line 1:
 +====== IsMotorIdle ======
 +
 +The **IsMotorIdle** function checks if the specified motor ("​A","​B","​C"​) is currently powered. This can be useful in order to check if a previously sent motor command has completed.
 +<​code>​idle = nxt.IsMotorIdle( motor );</​code>​
 +
 +====Example====
 +<​code>​idle = nxt.IsMotorIdle( "​A"​ );</​code>​
  
built_in/nxt_ismotoridle.txt ยท Last modified: 2015/03/09 16:01 by octazid