摘要
基于按键的机械特性,实际应用中需要对其进行消抖,从按键的基本电路出发,阐述四种软件消抖方法,并给出了示例程序,分析其优缺点。
Based on the mechanical characteristics of the key,it is necessary to eliminate its chattering in practical application.Starting from the basic circuit of the key,this paper expounds four software chattering elimination methods,gives an example program,and analyzes its advantages and disadvantages.
作者
郭星辰
GUO Xingchen(Jiangsu Union Technical Institute Nanjing Engineering Branch,Department of Electronic Engineering,Jiangsu 211135,China)
出处
《集成电路应用》
2021年第11期70-71,共2页
Application of IC
关键词
控制技术
软件消抖
单片机
按键
control technology
software anti chattering
single chip microcomputer
key press