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.