16点阵5种移位显示

16点阵5种移位显示

ID:14394150

大小:51.00 KB

页数:13页

时间:2018-07-28

16点阵5种移位显示_第1页
16点阵5种移位显示_第2页
16点阵5种移位显示_第3页
16点阵5种移位显示_第4页
16点阵5种移位显示_第5页
资源描述:

《16点阵5种移位显示》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、16点阵5种移位显示#include#defineucharunsignedchar#defineuintunsignedint/*************************************************/sbithc595_ds=P2^0;sbithc595_shcp=P2^1;sbithc595_stcp=P2^2;sbitLS138_A=P1^0;sbitLS138_B=P1^1;sbitLS138_C=P1^2;sbitLS138_G=P1^3;sbitLEFT=P1

2、^4;//左移sbitRIGHT=P1^5;//右移sbitUP=P3^2;//上移sbitDOWN=P3^3;//下移sbitROLL=P3^4;//卷动ucharcodeBmp[][32]={{//电0xFD,0xFF,0xFD,0xFF,0xFD,0xEF,0x80,0x07,0xBD,0xEF,0xBD,0xEF,0x80,0x0F,0xBD,0xEF,0xBD,0xEF,0x80,0x0F,0xBD,0xEF,0xFD,0xFF,0xFD,0xFB,0xFD,0xFB,0xFE,0x03,0xFF,0xFF

3、},{//子0xFF,0xFF,0xC0,0x0F,0xFF,0xEF,0xFF,0xDF,0xFF,0xBF,0xFE,0x7F,0xFE,0xFB,0x00,0x01,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFA,0xFF,0xFD,0xFF},{//信0xF7,0x7F,0xF7,0xBB,0xF0,0x01,0xEF,0xFF,0xEF,0xF7,0xC8,0x03,0xAF,0xFF,0x6F,0xF7,0xE8,0x03,

4、0xEF,0xFF,0xEC,0x07,0xED,0xF7,0xED,0xF7,0xED,0xF7,0xEC,0x07,0xED,0xF7},{//息0xFD,0xFF,0xFB,0xEF,0xE0,0x07,0xEF,0xEF,0xEF,0xEF,0xE0,0x0F,0xEF,0xEF,0xE0,0x0F,0xEF,0xEF,0xEF,0xEF,0xE0,0x0F,0xFD,0xFF,0xAE,0x7B,0xAF,0x6D,0x6F,0xED,0xF0,0x0F},{//工0xFF,0xFF,0xFF,0xF7,0

5、x80,0x03,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFF,0xFE,0xFB,0x00,0x01,0xFF,0xFF,0xFF,0xFF},{//程0xF7,0xFB,0xE2,0x01,0x0E,0xFB,0xEE,0xFB,0xEE,0xFB,0x00,0xFB,0xEE,0x03,0xC7,0xFF,0xC8,0x01,0xAB,0xDF,0xAF,0xD7,0x6E,0x

6、03,0xEF,0xDF,0xEF,0xDB,0xE8,0x01,0xEF,0xFF},{//一0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFB,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},{//班0xFE,0xFF,0xF6,0xFB,0x02,0x81,0xDE,0xEF,0xDA,0xE

7、F,0xDA,0xEF,0xDA,0xEF,0x0A,0x83,0xDA,0xEF,0xD6,0xEF,0xDE,0xEF,0xDD,0xEF,0xC5,0xEF,0x1D,0xEB,0xBB,0x01,0xF7,0xFF},},{//电0xFD,0xFF,0xFD,0xFF,0xFD,0xEF,0x80,0x07,0xBD,0xEF,0xBD,0xEF,0x80,0x0F,0xBD,0xEF,0xBD,0xEF,0x80,0x0F,0xBD,0xEF,0xFD,0xFF,0xFD,0xFB,0xFD,0xFB,0x

8、FE,0x03,0xFF,0xFF}};bitflag_left,flag_right,flag_up,flag_down,flag_key;//uchardisbuf[]={0xFE,0xFF,0xFE,0xFF,0xFE,0xFB,0x80,0x01,0xBE,0xFB,0xBE,0xFB,0xBE,0xFB,0xBE,0xFB,//0x8

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。