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

How to control a PWM output #29

Open
SenthilNathan84 opened this issue Dec 3, 2014 · 3 comments
Open

How to control a PWM output #29

SenthilNathan84 opened this issue Dec 3, 2014 · 3 comments

Comments

@SenthilNathan84
Copy link

whether gpio.write(18,0-1024,"output") is sufficient to change the duty cycle of the PWM output.???
I am trying to write the values from 0-1024 but the LED bulb is directly switching on if the value is greater than 1 and switching off if the value is 0. But I want to control the brightness by changing the duty cycle.

@rakeshpai
Copy link
Owner

This isn't currently possible. However, it should be possible soon. There's a PR waiting for me elsewhere that should open up this possibility.

@fehguy
Copy link

fehguy commented Apr 24, 2015

+1 would love to have this support.

@magicsmoke
Copy link

Any update on the status of PWM support?

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

No branches or pull requests

5 participants