77范文网 - 专业文章范例文档资料分享平台

444光立方程序

来源:网络收集 时间:2019-02-15 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

#include #define uint unsigned int #define uchar unsigned char sbit keyamenu=P4^4;//按键 sbit keyout=P4^5; sbit keymenu=P4^6; uint code tab_water[]={

0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0080,0x0140,0x0080,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,

0x0000,0x0000,0x0000,0x0000,0x0000,0x0080,0x0140,0x0220,0x0140,0x0080,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,

0x0000,0x0000,0x0000,0x0000,0x01c0,0x0220,0x0410,0x0410,0x0410,0x0220,0x01c0,0x0000,0x0000,0x0000,0x0000,0x0000,

0x0000,0x0000,0x0000,0x03e0,0x0410,0x0808,0x0808,0x0808,0x0808,0x0808,0x0410,0x03e0,0x0000,0x0000,0x0000,0x0000,

0x0000,0x0000,0x07f0,0x0808,0x1004,0x1004,0x1004,0x1004,0x1004,0x1004,0x1004,0x0808,0x07f0,0x0000,0x0000,0x0000,

0x0000,0x0ff8,0x1004,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x2002,0x1004,0x0ff8,0x0000,0x0000,

0x1ffc,0x2002,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x4001,0x2002,0x1ffc,0x0000 };

char code

tab00[]={7,7,7,7,7,7,7,7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,//28

8+6,8+6,8+6,8+6,8+6,8+6,8+5,8+4,8+3,8+2,8+1,8+1,8+1,8+1,8+1,8+1,8+2,8+3,8+4,8+5,//20

16+5,16+5,16+5,16+5,16+4,16+3,16+2,16+2,16+2,16+2,16+3,16+4,//12 24+4,24+4,24+3,24+3,//24+4 32+4,32+4,32+3,32+3,

40+5,40+5,40+5,40+5,40+4,40+3,40+2,40+2,40+2,40+2,40+3,40+4,//12

48+6,48+6,48+6,48+6,48+6,48+6,48+5,48+4,48+3,48+2,48+1,48+1,48+1,48+1,48+1,48+1,48+2,48+3,48+4,48+5,//20

56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+6,56+5,56+4,56+3,56+2,56+1,56+0,56+0,56+0,56+0,56+0,56+0,56+0,56+0,56+1,56+2,56+3,56+4,56+5,56+6//28 };

char code

tab10[]={56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+7,56+6,56+5,56+4,56+3,56+2,56+1,56+0,56+0,56+0,56+0,56+0,56+0,56+0,56+0,56+1,56+2,56+3,56+4,56+5,56+6,//56+28

48+6,48+6,48+6,48+6,48+6,48+6,48+5,48+4,48+3,48+2,48+1,48+1,48+1,48+1,48+1,48+1,48+2,48+3,48+4,48+5,//20

40+5,40+5,40+5,40+5,40+4,40+3,40+2,40+2,40+2,40+2,40+3,40+4,//12 32+4,32+4,32+3,32+3, 24+4,24+4,24+3,24+3,//24+4

16+5,16+5,16+5,16+5,16+4,16+3,16+2,16+2,16+2,16+2,16+3,16+4,//12

8+6,8+6,8+6,8+6,8+6,8+6,8+5,8+4,8+3,8+2,8+1,8+1,8+1,8+1,8+1,8+1,8+2,8+3,8+4,8+5,//20

7,7,7,7,7,7,7,7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6//28 };

char code

tab01[]={7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,7,7,7,7,7,7,//28

6,5,4,3,2,1,1,1,1,1,1,2,3,4,5,6,6,6,6,6,//20 5,4,3,2,2,2,2,3,4,5,5,5,//12 4,3,3,4,// 4,3,3,4,

5,4,3,2,2,2,2,3,4,5,5,5,//12

6,5,4,3,2,1,1,1,1,1,1,2,3,4,5,6,6,6,6,6,//20

7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,7,7,7,7,7,7,//28 };

uchar code tab_print[]={//打印函数使用

0X00,0X00,0X81,0XFF,0XFF,0X81,0X00,0X00,//I 0X1C,0X3E,0X7E,0XFC,0XFC,0X7E,0X3E,0X1C,//心 0X3F,0X7F,0X80,0X80,0X80,0X80,0X7F,0X3F,//U 0X3C,0X42,0X14,0XA1,0XA1,0X14,0X42,0X3C,//笑脸 0X00,0X73,0XE9,0X89,0X89,0X8F,0X4F,0X00,//5 0X00,0XC6,0X86,0X89,0X99,0XB1,0XE7,0XC6,//2 0X3C,0X7E,0X81,0X81,0X81,0X7E,0X3C,0X00,//0 0X00,0X00,0X3C,0X3C,0X3C,0X3C,0X00,0X00,//正方形 0X20,0X30,0X38,0X3C,0X3C,0X38,0X30,0X20,//三角形 0X08,0X14,0X22,0X77,0X14,0X14,0X14,0X1C,//箭头 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//全亮 0X00,0X00,0X80,0XFF,0XFF,0X82,0X00,0X00,//1 0X00,0X76,0XFF,0X89,0X89,0X81,0XC2,0X00,//3 0X00,0X00,0X80,0XFF,0XFF,0X82,0X00,0X00,//1 0X20,0XA0,0XFF,0XFF,0XA3,0X22,0X3C,0X30//4 };

char code tab_mian[]={4,3,7,2,0,6,1,5}; char code tab_xian[]={5,0,3,6,1,7,4,2}; char code tab_dian[]={ 0,1,3,4,7,2,6,5, 1,7,5,0,4,2,3,6, 1,6,4,0,7,5,2,3, 5,7,4,2,0,1,6,3, 1,6,3,4,5,2,0,7, 6,7,1,5,4,2,0,3, 2,0,3,1,5,7,6,4, 5,2,1,0,3,6,7,4,

0,7,4,3,2,6,5,1, 4,7,2,6,5,3,1,0, 0,1,4,3,2,5,6,7, 3,6,7,2,1,4,0,5, 5,2,1,0,7,6,4,3, 1,4,0,2,3,5,7,6, 4,2,1,5,6,0,7,3, 0,4,7,3,1,5,2,6,

1,0,6,7,4,5,3,2, 6,0,4,2,7,5,1,3, 3,1,2,6,7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x00,0x00,0x00,0x00,0x00,0x00,0x00,//1

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库444光立方程序在线全文阅读。

444光立方程序.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/471541.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: