完整的NOKIA-5110液晶51單片機(jī)驅(qū)動(dòng)程序_第1頁
完整的NOKIA-5110液晶51單片機(jī)驅(qū)動(dòng)程序_第2頁
完整的NOKIA-5110液晶51單片機(jī)驅(qū)動(dòng)程序_第3頁
已閱讀5頁,還剩18頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、完整的NOKIA-5110液晶51單片機(jī)驅(qū)動(dòng)程序/*Nokia 5110 驅(qū)動(dòng)*說明:本驅(qū)動(dòng)適用于51單片機(jī)(5V或3.3V),液晶的VCC接5V或3.3V 修改偏置電壓可改變5110點(diǎn)陣顯示的亮度5110接5V時(shí)偏置電壓改為(0xa7,0),接3.3V時(shí)改為(0xc0,0)*作者:JK*創(chuàng)建日期:2013/1/26*修改日期:*/#in elude <reg52.h>#in clude "fon t.h"#defi ne uint un sig ned int#defi ne uchar un sig ned char/*IO 口定義區(qū)*/sbitLCD_RS

2、T=P0A0;sbitLCD_CE =P0A1;sbitLCD_DC =P0A2;sbitLCD_DIN =P0A3;sbitLCD_CLK=卩0八4;/*函數(shù)聲明區(qū)*/void LCD_WriteStri ng(u nsig ned char X,un sig ned char Y,char *s);void LCD_WriteNum(unsigned char X,unsigned char Y,unsigned int num);void LCD_Write_12X16Font(unsignedchar x,unsigned char y,unsigned charc2);void LC

3、D_DrawPicture(unsigned char X,unsigned char Y,unsigned char const *map.un sig ned char Pix_x,u nsig ned char Pix_y);/* 函數(shù)名:LCD_I nit*功能:初始化LCD*參數(shù):無*返回值:無*備注:*/void LCDni t(void)un sig ned char i;LCD_RST=0; for(i=0;i<150;i+);/復(fù)位*/LCD_RST=1;LCD_WriteByte(0x21,0); /使用擴(kuò)展命令設(shè)置LCD模式設(shè)置偏置電壓,修改可改變5110點(diǎn)陣顯示的

4、亮度/*5110接5V時(shí)偏置電壓改為(0xa7,0),接3.3V時(shí)改為(0xc0,0)LCD_WriteByte(OxcO, 0); /LCD_WriteByte(0x20, 0); / 使用基本命令。并設(shè)置 V=0,水平尋址 LCD_Clear();/ 清屏LCD_WriteByte(0x0c, 0); / 設(shè)定顯示模式,正常顯示(普通顯示) LCD_CE=0;/* 函數(shù)名:LCD_WriteByte*功能:模擬SPI接口時(shí)序?qū)憯?shù)據(jù)/命令LCD*參數(shù):data :寫入的數(shù)據(jù);comma nd :寫數(shù)據(jù)(1)/命令選擇(0)*返回值:無/5110片選有效,允許輸入數(shù)據(jù) /寫命令/寫數(shù)據(jù)傳送8b

5、it數(shù)據(jù)禁止5110*備注:*/ void LCD_WriteByte( un sig ned char dat, un sig ned char comma nd) _un sig ned char i;LCD_CE=0;if (comma nd = 0)LCD_DC=0;elseLCD_DC=1; for(i=0;i<8;i+) if(dat& 0x80) LCD_DIN=1;elseLCD_DIN=0; LCD_CLK=0; dat = dat << 1; LCD_CLK=1;LCD_CE=1;/*函數(shù)名:LCD_Set_XY*功能:設(shè)置LCD坐標(biāo)*參數(shù):X:0

6、-83 Y:0-5*返回值:無*備注:*/void LCD_Set_XY(u nsig ned char X, un sig ned char Y) 一 一LCD_WriteByte(0x40 | Y, 0);/ colu mn列LCD_WriteByte(0x80 | X, 0);/ row行/*函數(shù)名:LCD_Clear功能:LCD清屏函數(shù)*參數(shù):無*返回值:無*備注:*/void LCD_Clear(void)un sig ned char t;un sig ned char k;LCD_Set_XY(O, 0);/ 設(shè)置 RAM 起始地址for(t=0;t<6;t+)for(k=

7、0;k<84;k+)LCD_WriteByte(0x00,1);/* 函數(shù)名:LCD_WriteChar*功能:LCD寫一個(gè)6X8的字符*參數(shù):c*返回值:無備注:*/void LCD_WriteChar( un sig ned char x,un sig ned char y,un sig ned char c) _un sig ned char i;c -= 32;/數(shù)組的行號LCD_Set_XY(x,y);for(i=0; i<12; i+)LCD_WriteByte(fo nt6x12ci, 1);if(i=5)y+;LCD_Set_XY(x,y);/* 函數(shù)名:LCD_W

8、riteString*功能:LCD寫6X8的字符串* 參數(shù):X , Y , S*返回值:無備注:*/void LCD_WriteStri ng(u nsig ned char X,un sig ned char Y,char *s) _while(*s)LCD_WriteChar(X,Y,*s);s+;X += 6;/* 函數(shù)名:LCD_WriteNum(unsigned int num)*功能:寫入數(shù)字*參數(shù):num*返回值:無*/void LCD_WriteNum(u nsig ned char X,un sig ned char Y,un sig ned int num) _un sig

9、 ned char str8,i=0,le n=0;un sig ned int temp;temp = num;while(temp)temp /=10;len+;if(!num)len+;str0=0x30;strle n = 0;while( num)strle n-i-1 = nu m%10 + 0x30;num /=10;i+;LCD_WriteStri ng(X,Y,(char *)str); _/* 函數(shù)名:LCD_Write_16X16Fo nt*功能:寫一個(gè)16X16的漢字* 參數(shù):x , y , c2x:0-83 y:0-5*返回值:無*備注:*/void LCD_Writ

10、e_12X16Font(unsigned char x,unsigned char y,unsigned char c2)un sig ned char i,k;LCD_Set_XY(x,y);for(k=0; k<25; k+)K的值表示漢字庫最多存放的字的數(shù)量(可改大)if(fo nt12x16k.l ndex0=c0)&&(fon t12x16k.l ndex1=c1)for(i=0; i<24; i+)LCD_WriteByte(fo nt12x16k.Mski, 1);if(i=11)y+;LCD_Set_XY(x,y);/* 函數(shù)名:LCD_DrawPi

11、cture*功能:繪圖*參數(shù):X、Y:位圖繪制的起始X、Y坐標(biāo);*m ap:位圖點(diǎn)陣數(shù)據(jù);Pix_x :位圖像素(長)<=84Pix_y :位圖像素(寬)<=48*返回值:無*備注:*/void LCD_DrawPicture(unsigned char X,unsigned char Y,unsigned char const *map,un sig ned char Pix_x ,un sig ned char Pix_y) 一 一un sig ned int i,n;un sig ned char row;計(jì)算位圖所占行數(shù)if (Pix_y%8=0)/如果為位圖所占行數(shù)為整數(shù)

12、row=Pix_y/8;elserow=Pix_y/8+1;/如果為位圖所占行數(shù)不是整數(shù)LCD_Set_XY(X,Y);for (n=0;n<row;n+)換行for(i=0;i<Pix_x;i+)LCD_Set_XY(X+i,Y+n);LCD_WriteByte(m api+n*Pix_x, 1);/*main函數(shù)*函數(shù)名:主函數(shù)*備注:*/void mai n()LCDni t();while(1)LCD_WriteNum(0,0,123); / 寫入數(shù)字 int 型的LCD_WriteNum(18,0,7); / 寫入數(shù)字 int 型的LCD_WriteNum(24,0,9)

13、;寫一個(gè)6X8的字符/寫6X8的字符串LCD_WriteChar(48,0,T);LCD_WriteChar(54,0,'J');LCD_WriteChar(60,0,'K');LCD_WriteStri ng(0,2,"jhf");LCD_DrawPicture(32,2,glmage_1,16,16); / 繪圖LCD_Write_12X16Font(12,4,"我");/寫一個(gè) 16X16 的漢字LCD_Write_12X16Font(24,4,"是");LCD_Write_12X16Fo nt(

14、36,4,"中");LCD_Write_12X16Fo nt(48,4,"國");LCD_Write_12X16Font(60,4,"銀");fon t.h的 內(nèi) 容/ 以 下 是 / /*說明:該font.h文件中包含的是5110顯示所用的ASCII、部分漢字、 及圖片字模。取模軟件使用“ PCtoLCD2002 ”,取模方式選項(xiàng): 陰碼、逆向、列行式、十六進(jìn)制數(shù)。漢字取模:寬12、高12*/ 6 x 8 font/ 1 pixel space at left and bottom/index = ASCII - 32code un

15、signed char font6x1212=/*-文字:-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*-文字:!-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x00,0x00,0xFC,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00, /*-文字:"-*/*-宋

16、體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x0C,0x02,0x0C,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /*-文字:# -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x90,0xD0,0xBC,0xD0,0xBC,0x90,0x00,0x03,0x00,0x03,0x00,0x00,/*-文字:%-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:

17、寬度x高度=6x16 -*/0x18,0x24,0xD8,0xB0,0x4C,0x80,0x00,0x03,0x00,0x01,0x02,0x01,/*-文字:&-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0xC0,0x38,0xE4,0x38,0xE0,0x00,0x01,0x02,0x02,0x01,0x02,0x02,/*-文字:'-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x08,0x06,0x00,0x00,0x

18、00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*-文字:(-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x00,0x00,0xF8,0x04,0x02,0x00,0x00,0x00,0x01,0x02,0x04,/*-文字:)-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x02,0x04,0xF8,0x00,0x00,0x00,0x04,0x02,0x01,0x00,0x00,/*-文字:

19、*-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x90,0x60,0xF8,0x60,0x90,0x00,0x00,0x00,0x01,0x00,0x00,0x00,/*-文字:+ -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x20,0x20,0xFC,0x20,0x20,0x00,0x00,0x00,0x01,0x00,0x00,0x00,/*- 文字:,-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍

20、數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x06,0x00,0x00,0x00,0x00,/*-文字:-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x20,0x20,0x20,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*-文字:.-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x00,0x00,0x00,0x00

21、,0x00,0x00,0x02,0x00,0x00,0x00,0x00,/*-文字:/ -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x00,0x80,0x60,0x1C,0x02,0x00,0x04,0x03,0x00,0x00,0x00,0x00,/*-文字:0 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0xF8,0x04,0x04,0x04,0xF8,0x00,0x01,0x02,0x02,0x02,0x01,0x00,/*-文字

22、:1-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x00,0x08,0xFC,0x00,0x00,0x00,0x00,0x02,0x03,0x02,0x00,0x00,/*-文字:2 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x18,0x84,0x44,0x24,0x18,0x00,0x03,0x02,0x02,0x02,0x02,0x00,/*-文字:3 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的

23、倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x08,0x04,0x24,0x24,0xD8,0x00,0x01,0x02,0x02,0x02,0x01,0x00,/*-文字:4 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x40,0xB0,0x88,0xFC,0x80,0x00,0x00,0x00,0x00,0x03,0x02,0x00,/*-文字:5 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x3C,0x24,0x24,0x24,

24、0xC4,0x00,0x01,0x02,0x02,0x02,0x01,0x00,/*-文字:6 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0xF8,0x24,0x24,0x2C,0xC0,0x00,0x01,0x02,0x02,0x02,0x01,0x00, /*-文字:7 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x0C,0x04,0xE4,0x1C,0x04,0x00,0x00,0x00,0x03,0x00,0x00,0x00,/

25、*-文字:8 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0xD8,0x24,0x24,0x24,0xD8,0x00,0x01,0x02,0x02,0x02,0x01,0x00,/*-文字:9 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x38,0x44,0x44,0x44,0xF8,0x00,0x00,0x03,0x02,0x02,0x01,0x00,/*-文字:-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是

26、8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,/*- 文字:;-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,/*-文字: -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x20,0x50,0x88

27、,0x04,0x02,0x00,0x00,0x00,0x00,0x01,0x02,/*-文字:=-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x90,0x90,0x90,0x90,0x90,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x18,0x04,0xC4,0x24,0x18,0x00,0x00,0x00,0x02,0x00,0x00,0x00,/*-文字: -*/

28、*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0xF8,0x04,0xE4,0x94,0xF8,0x00,0x01,0x02,0x02,0x02,0x02,0x00,/*-文字:A -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x00,0xE0,0x9C,0xF0,0x80,0x00,0x02,0x03,0x00,0x00,0x03,0x02,/*-文字:B -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍

29、數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x04,0xFC,0x24,0x24,0xD8,0x00,0x02,0x03,0x02,0x02,0x01,0x00,/*-文字:C -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0xF8,0x04,0x04,0x04,0x0C,0x00,0x01,0x02,0x02,0x02,0x01,0x00,/*-文字:D -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0xFC,0x04,0x

30、04,0xF8,0x00,0x02,0x03,0x02,0x02,0x01,0x00,/*-文字:E -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x04,0xFC,0x24,0x74,0x0C,0x00,0x02,0x03,0x02,0x02,0x03,0x00,/*-文字:F -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x04,0xFC,0x24,0x74,0x0C,0x00,0x02,0x03,0x02,0x00,0x00,

31、0x00,/*-文字:G -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0xF0,0x08,0x04,0x44,0xCC,0x40,0x00,0x01,0x02,0x02,0x01,0x00,/*-文字:H -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0xFC,0x20,0x20,0xFC,0x04,0x02,0x03,0x00,0x00,0x03,0x02,/*-文字:I -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6

32、x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0x04,0xFC,0x04,0x04,0x00,0x02,0x02,0x03,0x02,0x02,0x00,/*-文字:J -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x04,0x04,0xFC,0x04,0x04,0x06,0x04,0x04,0x03,0x00,0x00,/*-文字:K -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04

33、,0xFC,0x24,0xD0,0x0C,0x04,0x02,0x03,0x02,0x00,0x03,0x02,/*-文字:L -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0xFC,0x04,0x00,0x00,0x00,0x02,0x03,0x02,0x02,0x02,0x03,/*-文字:M -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0xFC,0x3C,0xC0,0x3C,0xFC,0x00,0x03,0x00,0x03

34、,0x00,0x03,0x00,/*-文字:N -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0xFC,0x30,0xC4,0xFC,0x04,0x02,0x03,0x02,0x00,0x03,0x00,/*-文字:0 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0xF8,0x04,0x04,0x04,0xF8,0x00,0x01,0x02,0x02,0x02,0x01,0x00,/*-文字:P -*/*-宋體9;此字體下對應(yīng)的

35、點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x04,0xFC,0x24,0x24,0x18,0x00,0x02,0x03,0x02,0x00,0x00,0x00,/*-文字:Q -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0xF8,0x84,0x84,0x04,0xF8,0x00,0x01,0x02,0x02,0x07,0x05,0x00,/*-文字:R -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6

36、x16 -*/0x04,0xFC,0x24,0x64,0x98,0x00,0x02,0x03,0x02,0x00,0x03,0x02,/*-文字:S -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x18,0x24,0x24,0x44,0x8C,0x00,0x03,0x02,0x02,0x02,0x01,0x00,/*-文字:T -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x0C,0x04,0xFC,0x04,0x0C,0x00,0x0

37、0,0x02,0x03,0x02,0x00,0x00,/*-文字:U -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0xFC,0x00,0x00,0xFC,0x04,0x00,0x01,0x02,0x02,0x01,0x00,/*-文字:V -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0x7C,0x80,0xE0,0x1C,0x04,0x00,0x00,0x03,0x00,0x00,0x00,/*-文字:W -*/*-

38、宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x1C,0xE0,0x3C,0xE0,0x1C,0x00,0x00,0x03,0x00,0x03,0x00,0x00,/*-文字:X -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0x9C,0x60,0x9C,0x04,0x00,0x02,0x03,0x00,0x03,0x02,0x00,/*-文字:丫 -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)

39、調(diào)整為:寬度x高度=6x16 -*/0x04,0x1C,0xE0,0x1C,0x04,0x00,0x00,0x02,0x03,0x02,0x00,0x00,/*-文字:Z -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x0C,0x84,0x64,0x1C,0x04,0x00,0x02,0x03,0x02,0x02,0x03,0x00,/*-文字:-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x00,0xFE,0x02,0x02

40、,0x00,0x00,0x00,0x07,0x04,0x04,0x00,/*-文字:| -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x0F,0x00,0x00,/*-文字:-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x02,0x02,0xFE,0x00,0x00,0x00,0x04,0x04,0x07,0x00,0x00,/*-文字:

41、A -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x04,0x02,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*-文字:_ -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x08,0x08,0x08,0x08,/*-文字:'-*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高

42、度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x08,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*-文字:a -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x40,0xA0,0xA0,0xC0,0x00,0x00,0x01,0x02,0x02,0x03,0x02,/*-文字:b -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0xFC,0x2

43、0,0x20,0xC0,0x00,0x00,0x03,0x02,0x02,0x01,0x00, /*-文字:c -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0xC0,0x20,0x20,0x60,0x00,0x00,0x01,0x02,0x02,0x02,0x00,/*-文字:d -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0xC0,0x20,0x24,0xFC,0x00,0x00,0x01,0x02,0x02,0x

44、03,0x02,/*-文字:e -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0xC0,0xA0,0xA0,0xC0,0x00,0x00,0x01,0x02,0x02,0x02,0x00,/*-文字:f -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x20,0xF8,0x24,0x24,0x04,0x00,0x02,0x03,0x02,0x02,0x00,/*-文字:g -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高

45、=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0x40,0xA0,0xA0,0x60,0x20,0x00,0x07,0x0A,0x0A,0x0A,0x04,/*-文字:h -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x04,0xFC,0x20,0x20,0xC0,0x00,0x02,0x03,0x02,0x00,0x03,0x02,/*-文字:i -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x

46、00,0x20,0xE4,0x00,0x00,0x00,0x00,0x02,0x03,0x02,0x00,0x00,/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x04,0xFC,0x80,0xE0,0x20,0x20,0x02,0x03,0x02,0x00,0x03,0x02,/*-文字:I -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x04,0x04,0xFC,0x00,0x00,0x00,0x02,0x02,0x03,0x02,

47、0x02,0x00,/*-文字:m -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0xE0,0x20,0xE0,0x20,0xC0,0x00,0x03,0x00,0x03,0x00,0x03,0x00,/*-文字:n -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/ 0x20,0xE0,0x20,0x20,0xC0,0x00,0x02,0x03,0x02,0x00,0x03,0x02,/*-文字:o -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x高度=6x16 -*/0x00,0xC0,0x20,0x20,0xC0,0x00,0x00,0x01,0x02,0x02,0x01,0x00,/*-文字:p -*/*-宋體9;此字體下對應(yīng)的點(diǎn)陣為:寬 x高=6x12-*/*-高度不是8的倍數(shù),現(xiàn)調(diào)整為:寬度x

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論