How to control a PWM output
Opened this issue · 3 comments
SenthilNathan84 commented
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 commented
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 commented
+1 would love to have this support.
magicsmoke commented
Any update on the status of PWM support?