#include#include#include#defineucharunsignedchar//8bit,0~255#defineuintun">
STC 12864顯示程序

STC 12864顯示程序

ID:37976503

大?。?5.00 KB

頁數(shù):15頁

時(shí)間:2019-06-04

STC 12864顯示程序_第1頁
STC 12864顯示程序_第2頁
STC 12864顯示程序_第3頁
STC 12864顯示程序_第4頁
STC 12864顯示程序_第5頁
資源描述:

《STC 12864顯示程序》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。

1、#include#include#include#include#defineucharunsignedchar//8bit,0~255#defineuintunsignedint//16bit,0~65,535#defineulongunsignedlong//32bit,0~4,294,967,295/*-----------建立自定義演示用字符庫-----------*/ucharcodeCCTAB[]={/*--文字:實(shí)--*//*--仿宋_GB231212;此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16

2、x16--*/0x02,0x00,0x01,0x00,0x7F,0xFE,0x48,0x02,0x86,0x84,0x02,0x80,0x10,0x80,0x0C,0x80,0x04,0x84,0xFF,0xFE,0x01,0x00,0x01,0x40,0x02,0x20,0x04,0x10,0x18,0x0C,0x60,0x04,/*--文字:驗(yàn)--*//*--仿宋_GB231212;此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16--*/0x08,0x40,0xFC,0x40,0x08,0xA0,0x48,0xA0,0x49,0x10,0x4A,0x0E,0x4D,0xF4,0x4

3、8,0x00,0x7C,0x48,0x06,0x48,0x05,0x48,0x1D,0x50,0xE5,0x10,0x44,0x24,0x17,0xFE,0x08,0x00,/*--文字:中--*//*--仿宋_GB231212;此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16--*/0x01,0x00,0x01,0x00,0x01,0x04,0x7F,0xFE,0x41,0x04,0x41,0x04,0x41,0x04,0x41,0x04,0x7F,0xFC,0x41,0x04,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x0

4、1,0x00};ucharcodesymbo[]={/*--調(diào)入了一幅圖像:D:guoqfilestechnicsupportpic128x32Symbo.bmp--*//*--寬度x高度=128x32--*/0x00,0x07,0xFF,0x00,0x00,0x00,0x00,0x00,0x1F,0xC0,0x00,0x1F,0xC0,0x03,0xE0,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x10,0x20,0x00,0x20,0x40,0x04,0x10,0x00,0x00,0x04,0x01,0x00,0x0

5、0,0x00,0x00,0x00,0x10,0x10,0x00,0x40,0x40,0x08,0x08,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x10,0x08,0x00,0x80,0x40,0x08,0x08,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x10,0x04,0x01,0x00,0x40,0x08,0x08,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x10,0x02,0x02,0x00,0x40,0x08,0x08,

6、0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x10,0x01,0x04,0x00,0x40,0x08,0x08,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x88,0x00,0x80,0x04,0x10,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x50,0x01,0x00,0x03,0xE0,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x

7、00,0x20,0x02,0x00,0x00,0x00,0x00,0x1F,0xFC,0x01,0xFF,0xDF,0xFF,0xFF,0xFF,0xC1,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x40,0x80,0x00,0x08,0x1F,0xFF,0xFF,0xF8,0x10,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x40,0x40,0x00,

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文

此文檔下載收益歸作者所有

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學(xué)公式或PPT動(dòng)畫的文件,查看預(yù)覽時(shí)可能會(huì)顯示錯(cuò)亂或異常,文件下載后無此問題,請(qǐng)放心下載。
2. 本文檔由用戶上傳,版權(quán)歸屬用戶,天天文庫負(fù)責(zé)整理代發(fā)布。如果您對(duì)本文檔版權(quán)有爭(zhēng)議請(qǐng)及時(shí)聯(lián)系客服。
3. 下載前請(qǐng)仔細(xì)閱讀文檔內(nèi)容,確認(rèn)文檔內(nèi)容符合您的需求后進(jìn)行下載,若出現(xiàn)內(nèi)容與標(biāo)題不符可向本站投訴處理。
4. 下載文檔時(shí)可能由于網(wǎng)絡(luò)波動(dòng)等原因無法下載或下載錯(cuò)誤,付費(fèi)完成后未能成功下載的用戶請(qǐng)聯(lián)系客服處理。