[M252] Using PSIO to Achieve ARGB2 LED Effects

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

26 Jul 2022, 15:06

  • Application: This sample code uses M252 PSIO to implement ARGB2 LED timing and realize lighting effects such as rainbow and theater chase rainbow.
  • BSP Version: M251/M252/M254/M256/M258 Series BSP CMSIS V3.02.001
  • Hardware: NuMaker-M252KG Ver1.0
PSIO (Programmable Serial I/O) provides an easy way to receive and transmit various serial transmissions, such as HDQ, DMX512, 1-wire, IR, PS/2, Microwire, Wiegand, and LED. This example code shows how to use PSIO to implement a control ARGB2 LED timing sequence and rainbow wave effect, and uses a set of timer to regularly update the color of the ARGB2 LED, and a set of UART to select the execution mode.

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests