Serial Terminal icon Serial Terminal PC and EZB serial terminals for ARC: connect, monitor and send text/ASCII to serial devices. Supports COM, flow control, baud, DTR/RTS, hex Try it →
 

Setposition

Servo.setPosition(port, position, [ezbIndex])

Parameters

port Servo port to set position of.
position Position to move the servo to.
ezbIndex (optional) Board index of the EZB to use.

Returns

Nothing

Description

Commands the servo to move to position. position is a value between 1 and 180.