Upgrade to ARC Pro
Synthiam ARC Pro is a cool new tool that will help unleash your creativity with programming robots in just seconds!
waitForPositionEquals
Servo.waitForPositionEquals(port, position, [ezbIndex])
Parameters
port | Servo port to use. |
position | Position to wait for. |
ezbIndex (optional) | Board index of the EZB to use. |
Returns
NothingDescription
Suspends execution of the script until the commanded position of the servo at the specified port is equal to position. The commanded position can be changed either by the user from another skill, or another script. position is a value between 0 and 180.