This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using PWM functionality for RGB LED control

Other Parts Discussed in Thread: MSP430G2553

Hi,

I'm new to microcontroller. I'm planning to use MSP430G2553 controller. I need to control a single RGB LED from controller.

I need to change PWM duty cycle for each color to control brightness of LED for achieving various color combination (Ex: For Orange, the RGB color code is 0xFFA500) .Also the LED needs to be blink in 2 Hz and no-blink (0 Hz).

How many timers are required for this? .  I understood that CCR0 is PWM period and CCRx is PWM duty cycle.

Kindly advice on this.

Thanks,

S.Abinesh.

**Attention** This is a public forum