Servo

This extension has blocks to rotate and run servos connected to the pins.

How servos work

To better understand how servos work and how they are controlled, take a few minutes to read this Brief Guide to Servos.

Also, watch this video for a further look into how motors and servos work.

Blocks in this extension

servos.P0.setPulse(1500)
servos.P0.setAngle(90)
servos.P0.run(50)
servos.P0.stop()
servos.P0.setRange(0, 180)
servos.P0.setStopOnNeutral(false)

See also

set pulse, set angle, run, stop, set range, set stop on neutral

Brief Guide to Servos

servo