This application note demonstrates the use of a matrix keypad including
wakeup from stop mode with HC05 J and K series microcontrollers. The
MC68HC705J1A is used as an example.
The code is divided into a main routine and two subroutines. The main
routine handles stop mode and the interrupt service routine that acts on
the key being pressed. The keypad subroutine actually decodes the
keypad. The delay subroutine is used by the interrupt service routine to
debounce the key press and key release
更多矩阵键盘知识请访问http://www.elecfans.com/zhuanti/20111025226587.html
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !