1. 首页
  2. 课程学习
  3. C++/C
  4. S12单片机1602显示和键盘输入

S12单片机1602显示和键盘输入

上传者: 2019-01-11 23:37:09上传 RAR文件 52.77KB 热度 21次
S12单片机 1602显示和键盘输入 #include #include unsigned char a[16]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71,},b[4],c=0x01; unsigned int jianzhi; void key(void) { unsigned int hengzhi,leizhi=0,n,r=0x01; if(P3_0==0) hengzhi=0; if(P3_1==0)
用户评论