Table of Contents

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.

idle = nxt.IsMotorIdle( motor );

Example

idle = nxt.IsMotorIdle( "A" );