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

Hardware PWM? #129

Open
shetty-777 opened this issue Oct 29, 2023 · 0 comments
Open

Hardware PWM? #129

shetty-777 opened this issue Oct 29, 2023 · 0 comments

Comments

@shetty-777
Copy link

I tried my best (I am a complete noob) but couldn't get it to work. I tried the hardware_PWM() function (is it a class?) of pigpio. It worked independently when I ran it, just set a frequency of 50 and duty of 500000. But it tried to go over the limit of my servo. And when I replaced the set_PWM_frequency() in plotter.py with the hardware_PWM class, nothing happened. I just thought hardware PWM would be more reliable and accurate, and when it is available on the RPi (on 2 channels, 4 pins) why not use each channel for elbow and shoulder? Has anybody tried it? Or did I just waste my time and it is useless?

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

1 participant