Wowwee MIP V2 icon Wowwee MIP V2 UART interface to hack WowWee MIP with ESP32/ESP32‑Cam or EZ‑B v4 for ARC; hardware UART preferred, configurable power and baud 9600/115200 Try it →
 

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 global 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).

While robot skills may have their own Min/Max servo options, this sets the global value. This is used for safety to ensure servos don't move outside the specified range.