Auto Position Movement Panel (Gait) icon Auto Position Movement Panel (Gait) Create servo frames/actions to animate humanoid, hexapod or custom gaits with smooth transitions, SW ramping and directional control Try it →
 

Decrement

Servo.decrement(port, count, [ezbIndex])

Parameters

port Servo port to use.
count Degrees to decrement by.
ezbIndex (optional) Board index of the EZB to use.

Returns

Nothing

Description

Decrements the position of the servo at the specified port by count. Servo position is between 0 and 180.