sbitLCD12864_RS=P2八0;//RS控制引腳sbitLCD12864_RW=P2A1;//RW控制引腳sbitLCD12864_EN=P2A2;//EN控制引腳sbitLCD12864_PSB=">
12864液晶顯示程序(圖案文字) 

12864液晶顯示程序(圖案文字) 

ID:20484696

大?。?80.50 KB

頁數(shù):18頁

時間:2018-10-12

12864液晶顯示程序(圖案文字) _第1頁
12864液晶顯示程序(圖案文字) _第2頁
12864液晶顯示程序(圖案文字) _第3頁
12864液晶顯示程序(圖案文字) _第4頁
12864液晶顯示程序(圖案文字) _第5頁
資源描述:

《12864液晶顯示程序(圖案文字) 》由會員上傳分享,免費在線閱讀,更多相關內容在工程資料-天天文庫。

1、includesbitLCD12864_RS=P2八0;//RS控制引腳sbitLCD12864_RW=P2A1;//RW控制引腳sbitLCD12864_EN=P2A2;//EN控制引腳sbitLCD12864_PSB=P2A3;//模式選擇引腳,ST7920控制器,1為8位并行接口,0為串行接口#defineLCDPORTP0//數(shù)據(jù)引腳voidLCD12864_lnit(void);//LCD12864初始化函數(shù)voidLCD12864_Writelnfomation(unsignedcharucData,bitbComOrData);//向LCD12864寫入

2、數(shù)據(jù),bComOrData為1時寫入的是數(shù)據(jù),0時寫入的是命令voidLCD12864_CheckBusy(void);//忙檢測函數(shù)voidLCD12864_Displaylmage(unsignedcharcode*uclmage);voidDelay(unsignedintuiCount);unsignedcharcodeucPicl[]={0x00,0xOO,0x00,0x00,0x00,0x00,0x00,0x14,Ox00,0x00,0x00,0x00,0x00,0xOO?OxOO,OxOQ,0x00,0x06,0x30,0x01,OxE0,0x00,0x00,0x2A,0

3、x00,0x00,0xD8,0x00,0x00,0x00,0x00,0x00,Ox00,0x0F,0x7B,0x63,0xE0,0xOO,0x00,0x22,0x00,0x01,0x24,0x00,Ox00,0x00,0x00,0x00,0x00,0x0F,0xFB,0x63,0x07,0x34,0x00,0x14,Ox00,0x01,0x04,0x00,0x00,0xOO,0x00,0x00,0x00,0x0D,0xDB,0x63,Ox01,0xBC,0x00,0x08,0x00,0xOO,0x88,0x00,0x00,0x00,0x00,0x00,Ox00,0x0C,0xlB,0x

4、63,0x07,0xBO,0x00,0x00,0x00,0x00,0x50,0x00,Ox00,0x00,0x00,0x00,0x00,0x0C,0xlB,0x63,0xED,0xB0,0xDB,0x00,0x01,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,OxOC,0x19,OxEl,OxE7,0xB0,0xDB,0x00,0x02,0xOO,0x00,0x00,0x00,0x00,0x00,0x00,Ox00,0x0C,0xl9,0xEl,0xE7,0xB0,0xDB,0x00,0x02,0x00,0x00,0x00,Ox00,0x00,0x0

5、0,0x00,0x00,0xOO,0x00,0x60,0x00,0x00,0x00,0x00,Ox04,0x00,0x00,0x00,0x00,0xOO,0x00,0x00,0x00,0x00,0x03,OxCO,Ox00,0x00,0x00,0x00,0x08,0xOO,0x00,0x00,0x00,0x00,0x00,0x00,Ox00,0x00,0x00,0x00,0x00,0xO(OxOO,OxO0,0x08,0x05,0x00,0x00,Ox00,0x00,0x00,0x00,0x00,0xOO,0x00,0x00,0x00,0x00,0x00,0x00,Ox10,0x0A

6、,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOA,OxOO,OxOO,OxFF,0xF8,0xE0,0x05,0x00,0x00,0x00,0x00,0x00,0x00,Ox00,0x06,0xC0,0x15,0x00,0xlF,OxFF,OxFF,OxCO,0x02,0x00,0x00,Ox00,0x00,0x00,0x00,0x00,0x09,0x20,0x11?0x00,0xFB,0xFF,0xE1,0xF8,0x00,0x00,0x00,0x00,0xOO?OxOO,OxOQ,0x00,0x08,0x20,0x0a,Ox03,

7、0x9F,0x00,0x9E,0x3E,0xOO,0x00,0x00,0x00,0x00,0x00,0x00,Ox00,0x04,0x40,0x04,0x0^0x70,0x00,0x8l,0xC7,0x80,0x01,0x40,Ox00,0x00,0x00,0x00,0x00,0x02,0x80,0x00,0x10,0x80,0x00,OxEO,Ox61,0xE0,0x02,0xA0,0x00,0xOO,0x00,0x00,0x00,0x01,

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

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

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