牛卧堂MCU技术交流

标题: [M031] GPIO Software Debounce [打印本页]

作者: admin    时间: 2024-1-31 14:52
标题: [M031] GPIO Software Debounce


Bouncing is a multiple of pulse signals generated by the closing or opening of contacts in an electronic device. The most common is the mechanical button. When the button is pressed once, multiple pulse signals are generated, and the MCU recognizes that it is pressed and released multiple times, causing malfunction, so it is necessary to prevent bounce to ensure that the correct signal can be obtained. This article mainly uses a timer and GPIO for software debounce experiments.

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





欢迎光临 牛卧堂MCU技术交流 (http://www.nuvoton-mcu.com/) Powered by Discuz! X3.2