20 lines
284 B
Markdown
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
|
||
|
```
|