Page 1 of 1

[ML56] Using Touch Slider to Control ARGB LED

Posted: 13 Sep 2021, 11:23
by chhsieh3
  • Application: This sample code uses touch slider to control ARGB LED effect and uses SPI to simulate ARGB LED timing sequence on ML56 series.
  • BSP Version: ML51 Series BSP V2.00.001
  • Hardware: ML56 Demo Board Ver1.0
This sample code uses touch slider to control ARGB to do LED dimming and uses SPI to simulate ARGB LED timing sequence to achieve intuitive brightness control.

The ML56 demo board is a sensing board with a slider and a wheel. All of the sensors on this board are capacitive touch key sensing. The 6-element slider is connected to the following I/O: TK2(P29), TK3(P28), TK4(P27), TK5(P26), TK6(P25) and TK7(P24). When the finger touches the copper pad on the PCB, the current position can be reported by detecting the measurement of the capacitance changes.

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