Application: The code is a demonstration of how to use timer to drive RGB LED.
BSP Version: M451 Series BSP CMSIS v3.01.001
Hardware: NuEdu-SDK-M451 v1.2
Use Timer to control the various representations of the I/O display LED, including RGB dimming, flickering and common breathing lights, usually dimming is the way to set duty with
PWM, but when there are more LEDs than PWM, it is the turn of the Timer. Only one set of Timer timing is needed to process the I/O state.
You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1204164412
|