- 7
- 0
- 约6.11千字
- 约 10页
- 2017-11-23 发布于四川
- 举报
PIC16F877A矩阵键盘的用法?? Post By:2010-9-27 13:39:00
/*******************************************************************************Platform: PIC1687AProject : 实验16:矩阵式按键Clock F : 外部4MSoftware: PICCAuthor? : 竹林清风comments:学习使用矩阵式按键的用法本例功能是按一下相应键,数码管显示相应的值0-9;不带连发,不带组合,希望有兴趣的人帮忙完成并共享UP键按键计数proteus仿真通过;*******************************************************************************/#include pic.h#include pic1687x.h#includedelay.h#includekey.h
unsigned char led_7[]={0x3f,0x06,0x5b,0x4F,0x66,0x6d,0x7d,0x07,0x7f,0x6f};//数码管显示值
unsigned char key_temp;void main(void){? unsigned char ID=
原创力文档

文档评论(0)