Ultrasonic Radar icon Ultrasonic Radar Ultrasonic on a servo sweeps 180°; radar shows distances and obstacles, integrates with movement panels for automatic avoidance, scriptable GetPing 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.