《led動態(tài)雙顯示》doc版

《led動態(tài)雙顯示》doc版

ID:33160242

大?。?4.50 KB

頁數(shù):9頁

時間:2019-02-21

《led動態(tài)雙顯示》doc版_第1頁
《led動態(tài)雙顯示》doc版_第2頁
《led動態(tài)雙顯示》doc版_第3頁
《led動態(tài)雙顯示》doc版_第4頁
《led動態(tài)雙顯示》doc版_第5頁
資源描述:

《《led動態(tài)雙顯示》doc版》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在應(yīng)用文檔-天天文庫

1、/***************************************************************************文件名稱:main.c*文件說明:顯示"Hello"**************************************************************************/#include#defineTOP0//豎直方向零點#defineBOTTOM64//豎直方向坐標最大值#defineLEF

2、T0//水平方向坐標最小值#defineRIGHT128//水平方向坐標最大值#defineEN_WIDTH48//Hello字符串的長度#defineCH_WIDTH96//中文字符串的長度#defineOP_CHINESE1//選擇顯示中文字符#defineOP_ENGLISH2//選擇顯示英文字符unsignedintsec,sec1,sec2,min,min1,min2,hour,h1,h2,s_num,S_NUM,cont,b,c,d,e,a;unsignedcharshowData[][16

3、]={0x00,0x00,0xE0,0x0F,0x10,0x10,0x08,0x20,0x08,0x20,0x10,0x10,0xE0,0x0F,0x00,0x00,//00x00,0x00,0x10,0x20,0x10,0x20,0xF8,0x3F,0x00,0x20,0x00,0x20,0x00,0x00,0x00,0x00,//10x00,0x00,0x70,0x30,0x08,0x28,0x08,0x24,0x08,0x22,0x88,0x21,0x70,0x30,0x00,0x00,//20x

4、00,0x00,0x30,0x18,0x08,0x20,0x88,0x20,0x88,0x20,0x48,0x11,0x30,0x0E,0x00,0x00,//30x00,0x00,0x00,0x07,0xC0,0x04,0x20,0x24,0x10,0x24,0xF8,0x3F,0x00,0x24,0x00,0x00,//40x00,0x00,0xF8,0x19,0x08,0x21,0x88,0x20,0x88,0x20,0x08,0x11,0x08,0x0E,0x00,0x00,//50x00,0x

5、00,0xE0,0x0F,0x10,0x11,0x88,0x20,0x88,0x20,0x18,0x11,0x00,0x0E,0x00,0x00,//60x00,0x00,0x38,0x00,0x08,0x00,0x08,0x3F,0xC8,0x00,0x38,0x00,0x08,0x00,0x00,0x00,//70x00,0x00,0x70,0x1C,0x88,0x22,0x08,0x21,0x08,0x21,0x88,0x22,0x70,0x1C,0x00,0x00,//80x00,0x00,0x

6、E0,0x00,0x10,0x31,0x08,0x22,0x08,0x22,0x10,0x11,0xE0,0x0F,0x00,0x00,//90x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x30,0xC0,0x30,0x00,0x00,0x00,0x00,0x00,0x00,//:};unsignedcharpx,//顯示字符串的X位置py,//顯示字符串的Y位置width;//字符串的寬度unsignedcharshowData1[]={//16*8點陣的"Hello"0x0

7、0,0x80,0x00,0x60,0xFE,0x1F,0x22,0x02,0x22,0x02,0x22,0x02,0x22,0x02,0xFE,0x7F,0x22,0x02,0x22,0x02,0x22,0x42,0x22,0x82,0xFE,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,/*"用",0*///0x00,0x40,0x02,0x40,0x82,0x40,0x82,0x40,0x82,0x40,0x82,0x40,0x82,0x40,0xFE,0x7F,//0x82

8、,0x40,0x82,0x40,0x82,0x40,0x82,0x40,0x82,0x40,0x02,0x40,0x00,0x40,0x00,0x00,/*"王",0*///0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"",1*///0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

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

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

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