[ML56] Using Touch Slider to Control ARGB LED

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

13 Sep 2021, 11:23

  • 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
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests