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

20 lines
284 B
Markdown

# Servos
Rotate and run servos connected to the pins.
```cards
servos.P0.setPulse(1500)
servos.P0.setAngle(90)
servos.P0.run(50)
```
## See also
[set pulse](/reference/servos/set-pulse),
[set angle](/reference/servos/set-angle),
[run](/reference/servos/run)
```package
servo
```