下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、/*/ /此程序是基于Proteus 7.4的仿真水院電子技術(shù)聯(lián)盟/qq 群:27802734/制作人:卡姆昂 /2011.06 /*/ #in elude #in elude / #defi ne uehar un sig ned char #defi ne uint un sig ned int sbit SI = P 1八5; / 數(shù)據(jù)端口sbit SCK = P 1八6; / 時鐘端口sbit RCK = P 1八7; /上升沿時移位寄存器的數(shù)據(jù)進入數(shù)據(jù)存儲寄存器,下降沿時存 儲寄存器數(shù)據(jù)不變。/*本文件為16X16點陣中文字庫文件,字的縱向8點構(gòu)成一字節(jié),上方的點在字節(jié)的 低位,字符
2、點陣四角按左上角T左下角T右上角-右下角取字*/*如你想在以后繼續(xù)用HZDotReader打開文件,追加漢字點陣數(shù)據(jù),請不要修改或增 刪所有注釋*/un sig ned char code hzdot2532 = /*4.4 18*/ 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, /*空白19*/ 0x00,0x00,0
3、x00,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, /*空白20*/ 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,
4、0x00,0x00,0x00,0x00, /* 湖 0*/ 0x10,0x04,0x21,0xFC,0x86,0x03,0x60,0x00,0x90,0x1F,0x90,0x10,0xFF,0x10,0x90,0x90, 0x90,0x5F,0x00,0x30,0xFE,0x0F,0x92,0x40,0x92,0x80,0xFE,0x7F,0x00,0x00,0x00,0x00, /* 北 1 */ 0x00,0x10,0x20,0x30,0x20,0x18,0x20,0x08,0x20,0x04,0xFF,0x7F,0x00,0x00,0x00,0x00, 0x00,0x00,0xFF,0x
5、3F,0x40,0x40,0x20,0x40,0x30,0x40,0x18,0x40,0x10,0x78,0x00,0x00,/* 水 2 */ 0x00,0x10,0x10,0x10,0x10,0x08,0x10,0x06,0x90,0x01,0x70,0x40,0x00,0x80,0xFF,0x7F, 0x20,0x00,0x60,0x00,0x90,0x01,0x08,0x06,0x04,0x0C,0x00,0x18,0x00,0x08,0x00,0x00, /* 院 3 */ 0xFE,0xFF,0x02,0x00,0x32,0x02,0x4A,0x04,0x86,0x83,0x0C,
6、0x41,0x24,0x31,0x24,0x0 0x25,0x01,0x26,0x01,0x24,0x7F,0x24,0x81,0x24,0x81,0x0C,0x81,0x04,0xF1,0x00,0x00, /* 電 4 */監(jiān)理服務(wù)0x48,0x44,0x48,0x44,0x48,0x44,0x48,0x44,0xF8,0x4F,0x00,0x40,0x00,0x70,0x00,0x00, /* 子 5 */ 0x00,0x01,0x00,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x41,0x02,0x81,0xE2,0x7F, 0x12,0x01,
7、0x0A,0x01,0x06,0x01,0x02,0x01,0x00,0x01,0x80,0x01,0x00,0x01,0x00,0x00, /* 技 6*/ 0x08,0x01,0x08,0x41,0x88,0x80,0xFF,0x7F,0x48,0x00,0x28,0x40,0x00,0x40,0xC8,0x20, 0x48,0x13,0x48,0x0C,0x7F,0x0C,0x48,0x12,0xC8,0x21,0x48,0x60,0x08,0x20,0x00,0x00, /* 術(shù) 7 */ 0x10,0x10,0x10,0x10,0x10,0x08,0x10,0x04,0x10,0x0
8、2,0x90,0x01,0x50,0x00,0xFF,0x7F, 0x50,0x00,0x90,0x00,0x12,0x01,0x14,0x06,0x10,0x0C,0x10,0x18,0x10,0x08,0x00,0x00, /* 聯(lián) 8*/ 0x02,0x08,0xFE,0x1F,0x92,0x08,0x92,0x08,0x92,0x04,0xFE,0xFF,0x12,0x05,0x11,0x81, 0x12,0x41,0x1C,0x31,0xF0,0x0F,0x18,0x11,0x17,0x21,0x12,0xC1,0x10,0x41,0x00,0x00, /* 盟 9*/ 0x00,0
9、x40,0xFE,0x40,0x92,0x7C,0x92,0x44,0x92,0x44,0xFE,0x7C,0x00,0x46,0x80,0x45, 0x7E,0x44,0x2A,0x7C,0x2A,0x44,0x2A,0x45,0x2A,0x7E,0xFE,0x41,0x00,0x40,0x00,0x00, /*, 10*/ 0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
10、,0x00,0x00,0x00,0x00,0x00, /*QQ 11*/ 0xE0,0x0F,0x10,0x18,0x08,0x24,0x08,0x24,0x08,0x38,0x10,0x50,0xE0,0x4F,0x00,0x00, 0xE0,0x0F,0x10,0x18,0x08,0x24,0x08,0x24,0x08,0x38,0x10,0x50,0xE0,0x4F,0x00,0x00, /* 群 12*/ 0x08,0x08,0x4A,0x04,0x4A,0x7F,0xFE,0x22,0x4A,0x22,0x4A,0x22,0x7E,0x7E,0x00,0x00,0x09,0x04,0
11、x4A,0x04,0x4C,0x04,0xF8,0xFF,0x4C,0x04,0x4B,0x04,0x0A,0x04,0x00,0x00, /* 730 13*/ 0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,日歷天0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /*27 14*/ 0x00,0x00,0x70,0x30,0x08,0x28,0x08,0x24,0x08
12、,0x22,0x88,0x21,0x70,0x30,0x00,0x00, 0x00,0x00,0x38,0x00,0x08,0x00,0x08,0x3F,0xC8,0x00,0x38,0x00,0x08,0x00,0x00,0x00, /*80 154*/ 0x00,0x00,0x70,0x1C,0x88,0x22,0x08,0x21,0x08,0x21,0x88,0x22,0x70,0x1C,0x00,0x00, 0x00,0x00,0xE0,0x0F,0x10,0x10,0x08,0x20,0x08,0x20,0x10,0x10,0xE0,0x0F,0x00,0x00, /*27 16*/
13、 0x00,0x00,0x70,0x30,0x08,0x28,0x08,0x24,0x08,0x22,0x88,0x21,0x70,0x30,0x00,0x00, 0x00,0x00,0x38,0x00,0x08,0x00,0x08,0x3F,0xC8,0x00,0x38,0x00,0x08,0x00,0x00,0x00,/*34 17*/ 0x00,0x00,0x30,0x18,0x08,0x20,0x88,0x20,0x88,0x20,0x48,0x11,0x30,0x0E,0x00,0x00, 0x00,0x00,0x00,0x07,0xC0,0x04,0x20,0x24,0x10,0x
14、24,0xF8,0x3F,0x00,0x24,0x00,0x00, /* 12 18*/ 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, /*空白19*/ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x0
15、0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*空白20*/ 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, /*空白21*/ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0
16、0,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ; /*/ /*函數(shù)功能:ms級延時函數(shù)*/ /*形參:uchar z */ /*返回值:無*/ /*/ void delay( uint z uchar a,b;uint x;for(x=z;x>0;x- for(b=142;b>0;b- for(a=2;a>0;a-;/*/ /*函數(shù)功能:向595發(fā)送一個字節(jié)的數(shù)據(jù)*/ /*形參:uchar dat */ /*返回值:無*/ /*/ void sen d_bit(uchar dat uchar n;for(n=0;nv8;n+ SCK=0; /拉低時鐘線Sl=dat&0x01; / 準(zhǔn)備數(shù)據(jù)dat>>=1; /數(shù)據(jù)右移SCK=1; /拉高時鐘線 _nop_(; /時鐘線保持就1us高電平/*/ /*函數(shù)功能:主線程*/ /*形參:無*/ /*返回值:無*/ /*/ void main (void uchar i,k ,p, zi=0;uchar j=0;while(1 for(k=0;k<
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年網(wǎng)絡(luò)游戲著作權(quán)許可使用合同
- 財務(wù)主管工作總結(jié)模板4篇
- 廣告公司的實習(xí)報告3篇
- 2022小學(xué)班主任德育工作總結(jié)10篇
- 我長大了小學(xué)作文15篇
- 2022年度幫扶工作計劃10篇
- 口腔科醫(yī)生述職報告10篇
- 軍訓(xùn)心得體會-(合集15篇)
- 函授本科自我鑒定6篇
- 2024-2025學(xué)年新教材高中歷史 第七單元 中國共產(chǎn)黨成立與新民主主義革命興起 第21課 五四運動與中國共產(chǎn)黨的誕生教學(xué)實錄2 新人教版必修《中外歷史綱要(上)》
- 象棋培訓(xùn)機構(gòu)合伙協(xié)議
- 2024裝修補貼協(xié)議書
- 2025屆貴州遵義市桐梓縣數(shù)學(xué)七年級第一學(xué)期期末經(jīng)典試題含解析
- 許昌市2022-2023學(xué)年七年級上學(xué)期期末語文試題
- 2024年中考物理微專題練習(xí)熱學(xué)計算1含答案
- 祠堂管理規(guī)章制度
- 藍(lán)色糧倉-水產(chǎn)學(xué)專業(yè)導(dǎo)論智慧樹知到期末考試答案章節(jié)答案2024年中國海洋大學(xué)、山東大學(xué)、中國科學(xué)院海洋研究所、上海海洋大學(xué)、華中農(nóng)業(yè)大學(xué)、大連海洋大學(xué)、集美大學(xué)
- 2023工業(yè)熱泵發(fā)展白皮書
- 幼兒園健康體檢活動方案及流程
- 小班幼兒洗手觀察記錄分析
- 冰箱結(jié)構(gòu)原理與維修
評論
0/150
提交評論