<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > STC12C5410AD AD的測(cè)試LCD12864顯示程序

          STC12C5410AD AD的測(cè)試LCD12864顯示程序

          作者: 時(shí)間:2013-05-11 來源:網(wǎng)絡(luò) 收藏

          AD的測(cè)試
          #include .H>
          #include "stdio.h"
          #include "stdlib.h"
          #include "math.h"
          #include "absacc.h"
          #include "intrins.h"
          #include "string.h"

          #define Rssp_On 0x3f
          #define Rssp_Off 0x3e
          #define Col_Add 0x40
          #define Page_Add 0xb8
          #define Start_Line 0xc0

          sbit Rs = P1^7; //Data or Instrument Select
          sbit RW = P1^5; //Write or Read
          sbit Ce = P1^6; //6800 mode Enable single
          #define Lcd_Bus P2
          sbit Cs1 = P1^3; //Master chip enable
          sbit Cs2 = P1^4; //Slave chip enable

          unsigned char adbuf;

          unsigned char code han[]=
          {
          /*-- 文字: 值 --*/
          /*-- 宋體12; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x80,0x40,0xF0,0x2F,0x02,0x04,0xE4,0xA4,0xB4,0xAF,0xA6,0xA4,0xE4,0x04,0x00,0x00,
          0x00,0x00,0xFF,0x00,0x40,0x40,0x7F,0x4A,0x4A,0x4A,0x4A,0x4A,0x7F,0x40,0x40,0x00,
          /*-- 文字: 電 --*/
          /*-- 宋體12; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x00,0x00,0xF8,0x48,0x48,0x48,0x48,0xFF,0x48,0x48,0x48,0x48,0xF8,0x00,0x00,0x00,
          0x00,0x00,0x0F,0x04,0x04,0x04,0x04,0x3F,0x44,0x44,0x44,0x44,0x4F,0x40,0x70,0x00,

          /*-- 文字: 壓 --*/
          /*-- 宋體12; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x00,0x00,0xFE,0x02,0x42,0x42,0x42,0x42,0xFA,0x42,0x42,0x42,0x62,0x42,0x02,0x00,
          0x20,0x18,0x27,0x20,0x20,0x20,0x20,0x20,0x3F,0x20,0x21,0x2E,0x24,0x20,0x20,0x00,

          /*-- 文字: 專 --*/
          /*-- 宋體-方正超大字符集11; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x00,0x00,0x80,0x90,0x90,0xF0,0x9C,0x90,0x90,0x90,0x90,0x88,0x40,0x00,0x00,0x00,
          0x00,0x00,0x00,0x00,0x03,0x02,0x12,0x22,0x72,0x0A,0x06,0x02,0x00,0x00,0x00,0x00,

          /*-- 文字: 注 --*/
          /*-- 宋體-方正超大字符集11; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x20,0x40,0x84,0xE8,0x20,0x20,0x20,0x22,0x24,0xE8,0x20,0x20,0x20,0x00,0x00,0x00,
          0x00,0x38,0x46,0x01,0x00,0x42,0x42,0x42,0x42,0x7F,0x42,0x42,0x42,0x42,0x00,0x00,

          /*-- 文字: 于 --*/
          /*-- 宋體-方正超大字符集11; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x00,0x80,0x84,0x84,0x84,0x84,0x84,0xFC,0x84,0x84,0x84,0x84,0x84,0x80,0x00,0x00,
          0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

          /*-- 文字: 消 --*/
          /*-- 宋體-方正超大字符集11; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x00,0x20,0x40,0x84,0x60,0x00,0xC8,0x30,0x40,0x3E,0x40,0x30,0x48,0xC0,0x00,0x00,
          0x00,0x00,0x7C,0x03,0x00,0x00,0x7F,0x09,0x09,0x09,0x09,0x89,0x89,0x7F,0x00,0x00,

          /*-- 文字: 費(fèi) --*/
          /*-- 宋體-方正超大字符集11; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x00,0x00,0xE8,0xA8,0xA8,0xE8,0x9C,0xA8,0xA8,0xFC,0xA8,0xA8,0xB8,0x80,0x00,0x00,
          0x00,0x80,0x84,0x9E,0x85,0x44,0x24,0x1C,0x24,0x25,0x24,0x5E,0x42,0x01,0x00,0x00,

          /*-- 文字: 類 --*/
          /*-- 宋體-方正超大字符集11; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x00,0x20,0x20,0x20,0xA8,0x50,0x20,0xFC,0x20,0x50,0xAC,0xA0,0x20,0x00,0x00,0x00,
          0x80,0x82,0x8A,0x49,0x48,0x28,0x19,0x06,0x18,0x28,0x28,0x48,0x49,0x84,0x00,0x00,

          /*-- 文字: 控 --*/
          /*-- 宋體-方正超大字符集11; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x00,0x20,0x20,0xFC,0x20,0x20,0x30,0x90,0x54,0x1C,0x10,0x50,0xB0,0x10,0x00,0x00,
          0x00,0x44,0x82,0x7F,0x01,0x01,0x81,0x84,0x84,0x7C,0x84,0x84,0x84,0x41,0x00,0x00,

          /*-- 文字: 制 --*/
          /*-- 宋體-方正超大字符集11; 此字體下對(duì)應(yīng)的點(diǎn)陣為:寬x高=16x16 --*/
          0x00,0x60,0x9C,0x90,0x90,0xFC,0x90,0x90,0x50,0x80,0xF8,0x00,0x00,0xFC,0x00,0x00,
          0x00,0x00,0x3E,0x02,0x02,0x7F,0x22,0x3E,0x02,0x00,0x0F,0x40,0x40,0x3F,0x00,0x00,
          };

          萬能遙控器相關(guān)文章:萬能遙控器代碼



          上一頁(yè) 1 2 3 下一頁(yè)

          評(píng)論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();