Hi, I'm coming over from Arduino.
I have been driving two RGB leds on the Arduino via the 6 PWM pins and I want to replicate that now from an mbed but unsure whether the Mbed PWM is sufficient to drive these without uprating the output in some way. I want complete control to flash the LED's at a frequency of 1-63hz and do brightness and smooth colour sweeps.
Any advice appreciated on the best way to achieve this, whether it be with PWM or some other method.
Accept I probably need a resistor on the red leg's
Red - Drive voltage 1.95-2.5v Luminous flux 500-1200mcd
Green -Drive voltage 3.3-3.8v Luminous flux 1200-3000mcd
Blue - Drive voltage 3.3-3.8v Luminous flux 1000-2500mcd
(forward current 20mA on all)
Many thanks for your help
Craig
Hi, I'm coming over from Arduino.
I have been driving two RGB leds on the Arduino via the 6 PWM pins and I want to replicate that now from an mbed but unsure whether the Mbed PWM is sufficient to drive these without uprating the output in some way. I want complete control to flash the LED's at a frequency of 1-63hz and do brightness and smooth colour sweeps.
Any advice appreciated on the best way to achieve this, whether it be with PWM or some other method.
Accept I probably need a resistor on the red leg's
Red - Drive voltage 1.95-2.5v Luminous flux 500-1200mcd Green -Drive voltage 3.3-3.8v Luminous flux 1200-3000mcd Blue - Drive voltage 3.3-3.8v Luminous flux 1000-2500mcd (forward current 20mA on all)
Many thanks for your help
Craig