Skip to content

markushi/pico-servo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pico-servo

A simple library to control hobby servos using the Raspberry Pi Pico. Under the hood it's using PWM. Pull requests welcome!

Largely inspired by the excellent MicroPython RP2 PWM code.

Example

#define SERVO_PIN 15
...
servo_enable(SERVO_PIN);

// angle: between 0 and 180
servo_set_position(SERVO_PIN, angle); 

See example.c for a full example.

License

See LICENSE

About

Raspberry Pi Pico Servo Control library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published