CONTROL METHOD, MCU, TOUCH CONTROL DEVICE, AND STORAGE MEDIUM
A control method, an MCU, a touch control device, and a storage medium. The method is applied to a microcontroller unit (MCU), the MCU is connected to N touch buttons by means of N channels corresponding one-to-one to the N touch buttons, and N is an integer greater than 1. The method comprises: usi...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng ; fre |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A control method, an MCU, a touch control device, and a storage medium. The method is applied to a microcontroller unit (MCU), the MCU is connected to N touch buttons by means of N channels corresponding one-to-one to the N touch buttons, and N is an integer greater than 1. The method comprises: using a first sampling frequency to acquire voltages of all channels in a first channel set, the first channel set comprising at least one channel; if the voltages of all the channels in the first channel set meet a first preset condition, using a second sampling frequency to acquire voltages of the N channels; and processing the voltages of the N channels and outputting a corresponding control instruction, wherein the first sampling frequency is less than the second sampling frequency. In this way, the MCU does not need to operate at the second sampling frequency for a long period of time, thus reducing the power consumption of the MCU.
La présente invention concerne un procédé de commande, une MCU, un dispositif de |
---|