牛卧堂MCU技术交流

标题: [M451] Use Timer to Drive RGB LED [打印本页]

作者: admin    时间: 2022-7-12 09:57
标题: [M451] Use Timer to Drive RGB LED
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






欢迎光临 牛卧堂MCU技术交流 (http://www.nuvoton-mcu.com/) Powered by Discuz! X3.2