第79节:通过主菜单移动光标来进入子菜单窗口的液晶屏程序
时间:11-22
来源:互联网
点击:
- unsigned char*ucArray,unsigned char ucFbFlag,unsigned int x_amount,unsigned int y_amount,unsigned int uiOffSetAddr); //显示任意点阵函数
- unsigned char *number_to_matrix(unsigned charucBitNumber); //把一位数字转换成字模首地址的函数
- void delay_short(unsigned int uiDelayshort); //延时
- void delay_long(unsigned int uiDelayLong);
- void T0_time(); //定时中断函数
- void key_service(void); //按键服务的应用程序
- void key_scan(void);//按键扫描函数 放在定时中断里
- void initial_myself();
- void initial_peripheral();
- void lcd_display_service(void); //应用层面的液晶屏显示程序
- void clear_all_canvas(void);//把画布全部清零
- void wd1(void);//窗口1主菜单
- void wd2(void);//窗口2设置时间
- void wd3(void);//窗口3设置速度
- void wd4(void);//窗口4设置频率
- code unsigned char Zf816_0[]=
- {
- /*--文字:0--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x18,0x24,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0x24,0x18,0x00,0x00,
- };
- code unsigned char Zf816_1[]=
- {
- /*--文字:1--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x10,0x70,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x7C,0x00,0x00,
- };
- code unsigned char Zf816_2[]=
- {
- /*--文字:2--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x3C,0x42,0x42,0x42,0x04,0x04,0x08,0x10,0x20,0x42,0x7E,0x00,0x00,
- };
- code unsigned char Zf816_3[]=
- {
- /*--文字:3--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x3C,0x42,0x42,0x04,0x18,0x04,0x02,0x02,0x42,0x44,0x38,0x00,0x00,
- };
- code unsigned char Zf816_4[]=
- {
- /*--文字:4--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x04,0x0C,0x14,0x24,0x24,0x44,0x44,0x7E,0x04,0x04,0x1E,0x00,0x00,
- };
- code unsigned char Zf816_5[]=
- {
- /*--文字:5--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x7E,0x40,0x40,0x40,0x58,0x64,0x02,0x02,0x42,0x44,0x38,0x00,0x00,
- };
- code unsigned char Zf816_6[]=
- {
- /*--文字:6--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x1C,0x24,0x40,0x40,0x58,0x64,0x42,0x42,0x42,0x24,0x18,0x00,0x00,
- };
- code unsigned char Zf816_7[]=
- {
- /*--文字:7--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x7E,0x44,0x44,0x08,0x08,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,
- };
- code unsigned char Zf816_8[]=
- {
- /*--文字:8--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x3C,0x42,0x42,0x42,0x24,0x18,0x24,0x42,0x42,0x42,0x3C,0x00,0x00,
- };
- code unsigned char Zf816_9[]=
- {
- /*--文字:9--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x18,0x24,0x42,0x42,0x42,0x26,0x1A,0x02,0x02,0x24,0x38,0x00,0x00,
- };
- code unsigned char Zf816_nc[]=//空字模
- {
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- };
- code unsigned char Zf816_mao_hao[]=//冒号
- {
- /*--文字::--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
- 0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,
- };
- code unsigned char Hz1616_zhu[]=
- {
- /*--文字:主--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=16x16 --*/
- 0x02,0x00,0x01,0x80,0x01,0x00,0x00,0x08,0x3F,0xFC,0x01,0x00,0x01,0x00,0x01,0x08,
- 0x3F,0xFC,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0x7F,0xFE,0x00,0x00,0x00,0x00,
- };
- code unsigned char Hz1616_cai[]=
- {
- /*--文字:菜--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=16x16 --*/
- 0x04,0x40,0xFF,0xFE,0x04,0x40,0x04,0x40,0x3F,0xF8,0x22,0x08,0x11,0x10,0x08,0x20,
- 0x01,0x00,0x7F,0xFE,0x03,0x80,0x05,0x40,0x09,0x30,0x11,0x1C,0x61,0x08,0x01,0x00,
- };
- code unsigned char Hz1616_dan[]=
- {
- /*--文字:单--*/
- /*--宋体12;此字体下对应的点阵为:宽x高=16x16 --*/
- 0x08,0x20,0x06,0x30,0x04,0x40,0x3F,0xF8,0x21,0x08,0x3F,0xF8,0x21,0x08,0x21,0x08,
- 0x3F,0xF8,0x21,0x08,0x01,0x00,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,
- };
- code unsigned char Hz1616_she[]=
- {
- /*--文字:设--*/
- /*--宋体12;此
主菜单移动光标子菜单窗口液晶屏程 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)