摘要
以一个多功能数字时钟的设计为例,用一个按键,通过短按、长按、单击、双击、连击等操作,实现不同的系统功能,来阐述在单片机应用设计中实现单键多功能的一种设计方法.这种方法可以在其他以单片机为核心的、需要单键多功能的控制系统设计或仪器仪表设计中广泛采用.
A single-button multifunctional MCU application system design method is studied in this paper. As a exam-ple, the implementation of a multifunctional digital clock is discussed, which can achieve many functions by long press, short press, click, double-click or continuous click of the unique button. This method can be widely used in design of many other control systems and instruments, which use the MCU as the core and need to have multifunction operated by a single-button.
出处
《内蒙古民族大学学报(自然科学版)》
2014年第2期153-155,共3页
Journal of Inner Mongolia Minzu University:Natural Sciences
基金
内蒙古自然科学基金(2013MS0922)
关键词
单键
多功能
单片机
Single-button
Multifunctional
MCU