- 3
- 0
- 约8.68千字
- 约 24页
- 2018-06-23 发布于江西
- 举报
单片机使用状态机的键盘程序( SCM using state machine keyboard program).doc
51单片机使用状态机的键盘程序(51 SCM using state machine keyboard program)
I also send keyboard programs using state machines to support single keys and double bonds
Single key, keyboard, status, program, join in the fun
1 header file: KeyBoard.h
#ifndef _Key_Board_h_
#define _Key_Board_h_
#define Key_Up 0x3E / / arrow
#define Key_Down 0x3D / / down arrow
#define Key_Add 0x3B / / add
#define Key_Sub / / 0x37 reduction
#define Key_Enter / / 0x2F.
#define Key_Return 0x1F / / return
The key combination #define 0x33 / / Key_LR.
May this definition other key combinations......
#define Key_NULL / / 0xFF without a
原创力文档

文档评论(0)