ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

setMaxPositionLimit

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

Parameters

port Servo port to set max position limit of.
position Max position limit.
ezbIndex (optional) Board index of the EZB to use.

Returns

Nothing

Description

Sets the maximum position that the servo at the specified port can move to the position. the position is a value between 0 and 180 (or the global max servo position if overridden)