Page 1 of 1

[M258] Using GPIO to Achieve ARGB2 LED Effect

Posted: 28 Apr 2022, 19:53
by chhsieh3
  • Application: This sample code uses GPIO to simulate ARGB2 LED timing sequence and achieve the Rainbow Wave ARGB2 LED effect on the M258 series microcontroller (MCU).
  • BSP Version: M251_M252_M254_M256_M258_Series_BSP_CMSIS_V3.02.001
  • Hardware: NuMaker-M258KE Ver1.2
This sample code uses GPIO to simulate ARGB2 LED timing sequence and produce LED Rainbow Wave effect. This code uses one timer to schedule ARGB2 LED to do ARGB2 LED toning, one set of GPIO to simulate ARGB2 LED strip timing sequence and one set of UART to select the execution mode.

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