AnsweredAssumed Answered

LEDs pwm gpio

Question asked by bruce on Jul 29, 2010
Latest reply on Sep 19, 2016 by beou

I have a status LED on two of the GPIO pins.

 

Is there a way to pulse width modulate the blinking of the LEDs?

 

I can turn them on and off ok.  And I think I was successful in getting the LED to blink with one of the signal generators (maybe the square wave).

 

But for let's say a 1Hz blink:

I would like to maybe have the LED go 100ms on, 900ms off, for one type of error; and maybe 100ms on, 100ms off, 100ms on, 700ms off, for another type of error....etc...

 

Is there a way to do this?

 

Thanks,

Bruce

Outcomes