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

PWM #2

Open
yakir12 opened this issue Oct 9, 2020 · 8 comments
Open

PWM #2

yakir12 opened this issue Oct 9, 2020 · 8 comments
Labels
help wanted Extra attention is needed

Comments

@yakir12
Copy link

yakir12 commented Oct 9, 2020

Feature request for the far future: add controls for PWM.

This is really just a place holder for a todo. Not an actual issue...

@ronisbr
Copy link
Owner

ronisbr commented Oct 10, 2020

Ok! I agree, I really need to add this... The hardware PWM should be easy to configure. I am also thinking how can I use the multi-threading capabilities of Julia to also provide software PWM.

@notinaboat
Copy link

I was looking into the PWM capabilities of the Pi and found this reference from the pigpio doc about how the DMA peripheral is used to do "hardware timed PWM on any of GPIO 0-31":
https://github.com/joan2937/pigpio/blob/cc17196c7586c3625ac8adf8f34838d320ffeda6/pigpio.h#L71-L73

This is a related part of the servoblaster docs:
https://github.com/richardghirst/PiBits/blob/master/ServoBlaster/README.txt#L105-L112

@ronisbr
Copy link
Owner

ronisbr commented Oct 28, 2020

I was looking into the PWM capabilities of the Pi and found this reference from the pigpio doc about how the DMA peripheral is used to do "hardware timed PWM on any of GPIO 0-31":
https://github.com/joan2937/pigpio/blob/cc17196c7586c3625ac8adf8f34838d320ffeda6/pigpio.h#L71-L73

This is a related part of the servoblaster docs:
https://github.com/richardghirst/PiBits/blob/master/ServoBlaster/README.txt#L105-L112

Thanks for the info! I will try to implement it as soon as possible!

@metelkin
Copy link

metelkin commented Apr 6, 2021

Vote for it!

@ronisbr
Copy link
Owner

ronisbr commented Apr 7, 2021

Hi @metelkin

Yeah... I am in debt here. Sorry for the delay. The last months were insane here and I just had not time to come back to this project. However, it is not dead and I promise I will do this as soon as possible (if we can't find someone to do this).

@ronisbr ronisbr added the help wanted Extra attention is needed label Apr 7, 2021
@metelkin
Copy link

metelkin commented Apr 7, 2021

It's ok. I wish I could help but unfortunately, my skills are not enough for such "low-level" programming tasks.

@metelkin
Copy link

metelkin commented Apr 8, 2021

@metelkin, in the meantime you may be able to use this wrapper:

https://github.com/notinaboat/PiGPIOC.jl

Thank you @notinaboat, interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants