Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

PWM duty cycle change with digital input ???????

$
0
0

Howdy everybody!

 

I am trying to come up with some ideas....Now that I have FINALLY figured out how to get a pushbutton input to make an output I am playing with the PWM output. 

 

I am working on ways to increase the DC to max, then return to minimum when the button is pushed.  When you release the button the DC remains at that level.  A quick button push will toggle the output on and off and the long will adjust DC.   This is for a LED dimmer the PWM signal is heading to the LED driver. 

 

Any ideas on how to approach this ?  I have it working now to turn the output on and off with a set PWM DC, now I just want to get the DC to change with the input. 

 

Thanks again!

 

Jake


Viewing all articles
Browse latest Browse all 2077

Trending Articles