[MS51] Drive 7-segment RGB LED

Post Reply
chhsieh3
Posts: 309
Joined: 13 Mar 2020, 09:08

06 Nov 2023, 13:29

  • Application: This example code uses MS51 32K series to drive RGB color 7-segment LED display.
  • BSP Version: MS51_Series_BSP_Keil_V1.00.006
  • Hardware: NuMaker-MS51PC V1.1 & PWM_ARGB_Control_Board V1.0
The classic 7-segment display typically features a single color configuration, and users only need to connect the positive terminal to a power source and various negative terminals to ground (GND) to manipulate the 7-segment display to exhibit different numerical digits.

The RGB color model is based on an additive process, where the primary colors of light — red, green, and blue are combined. When applied to a 7-segment LED display, RGB serves the dual purpose of illuminating the display and allowing precise control of the intensity levels of the three primary colors, each with 256 levels. This enables the creation of a staggering 16.7 million mixed colors.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0208280504
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 145 guests