Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

servo example on rpi 2 - no movement #26

Open
0Kraft opened this issue Oct 30, 2018 · 1 comment
Open

servo example on rpi 2 - no movement #26

0Kraft opened this issue Oct 30, 2018 · 1 comment

Comments

@0Kraft
Copy link

0Kraft commented Oct 30, 2018

hi,
first of all thank you for you extraordinary work!

can you give me some hint why my servo isn't moving. your example code compiles without errors, runs without errors. but servo stands still. when i try to move the servo with python code it works fine, so its no power or current issue or general I/O issue. it's a small sg90 servo. Do you have an idea where i can start to investigate?

Greetings

@kashimAstro
Copy link
Owner

Hi @0Kraft,

there are problems with the management of PWM in ofxgpio.
you can try to use pin number 18 (GPIO18)
to see if the example works. be sure to run the example as a super user
to avoid problems with permits.

in the future I will fix this.

Ciao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants