RGB Mixing via PWM: MSPM0G3507 Timer Control for Multi-Color LEDs
00:05:05
|
04 AUG 2025
This demo configures TimerG modules to generate 3-phase PWM signals driving RGB LEDs via PB22(blue)-PB26(red)-PB27(green) with J5-J7 jumpers enabled. Serial commands dynamically adjust duty cycles (0-100%) for real-time color blending, while BUSCLK-based frequency settings (>1kHz) eliminate flickering. Code implements DL_Timer APIs for smooth duty updates.