-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Cant start gobot with raspberry pi adapter and servo driver #166
Comments
@razic The problem is that the raspberry pi adaptor does not currently support pwm. In order for pwm to work we need to implement support for pi blaster https://github.com/sarfata/pi-blaster. |
@zankich great. sounds like we're almost there. is it possible you would be able to explain on a high level a bit more in-depth what it would take to get the pi blaster support going? correct me if i'm wrong, but it seems like pi-blaster is either a process or a script that needs to be run at least once. then, we can write values to |
@razic I created a branch with initial pi-blaster support https://github.com/hybridgroup/gobot/tree/raspi_pwm. In order to get this to work you'll have to follow the installation instructions for pi-blaster. I don't currently have access to a raspberry pi, so I only tested locally with manually verifying values and it should work.... If you're feeling brave you can check out that branch and let me know how it goes! |
Has there been any further work on PWM support? |
@razic and @SellJamHere pwm support has just landed in the master branch. You need to follow the instructions here to enable PWM pins. |
We should close this since pwm support has been added, or are we waiting for release? |
This has been released and I tested with a servo and led on a raspi b+ |
@zankich Do you have an example I could follow? I'm trying with a MG90 servo tower connected to GPIO 11 on a pi b+ but it does not seem to be working |
You might want to open a new issue @matipan this one has been closed for a long time. |
here is my code:
and this is the error is get
any suggestions?
The text was updated successfully, but these errors were encountered: