waitForMove

Servo.waitForMove(port, [ezbIndex])

Parameters

port Servo port to wait for movement.
ezbIndex (optional) Board index of the EZB to use.

Returns

The position of the servo at the specified port that has changed.

Description

Suspends execution of the script until the commanded position of the servo at the specified port changes. The commanded position can be changed either by the user from another skill, or another script.