- 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