pxt-calliope/libs/servo/docs/reference/servos.md
Galen Nickel 48fcdc8013 Servo lib docs (#1686)
* Servos extension ref docs

* fix param name
2018-11-30 16:17:54 -08:00

284 B

Servos

Rotate and run servos connected to the pins.

servos.P0.setPulse(1500)
servos.P0.setAngle(90)
servos.P0.run(50)

See also

set pulse, set angle, run

servo