免费1夜情网站-免费18岁禁看-免费 在线观看 视频-免费 视频 1级-87福利在线-87福利视频

歡迎訪問杭州精顯科技有限公司液晶顯示屏網站! 設為首頁 | 收藏本站| 網站地圖
全國統一服務熱線
15382323032
?

技術知識

您只需一個電話我們將推薦性價比高的液晶屏產品選型,讓您花合理的價格,達到預期的效果

全國統一服務熱線
15382323032

產品動態

聯系我們

全國統一服務熱線:

15382323032

客服QQ:3234659108

手機:15382323032

地址:浙江省杭州市西湖區文一西路830號蔣村商務中心B樓2-8007室

當前位置: 主頁 > 資訊中心 > 技術知識 > >

12864點陣液晶顯示測試程序(帶字庫)

文章出處:未知 人氣:發表時間:2018-07-16

接口說明
 
1 12864-1
 
12864點陣液晶顯示測試程序(帶字庫)
測試程序:
#include <reg52.h>
 
#define uint  unsigned int
#define uchar unsigned char
#define x1    0x80
#define x2    0x88
#define y     0x80
#define comm  0
#define dat   1
 
sbit rs = P1^1;   //H=data; L=command;
sbit rw = P1^2;   //H=read; L=write;
sbit  e = P1^3;   //input enable;
sbit psb= P1^4;   //H=并口; L=串口;
sbit rst= P1^5;   //Reset Signal 低電平有效
 
sbit busy=P2^7;   //lcd busy bit
 
void wr_lcd (uchar dat_comm,uchar content);
void chk_busy (void);
void delay (uint us);
 
uchar code tab1[]={
"    床前明月光, "
"  疑是地上霜,   "
"舉頭望明月,     "
"低頭思故鄉。    "
};
 
uchar code tab31[]={
"你的選擇"
"沒有錯  "
};
uchar code tab32[]={
/*--  調入了一幅圖像:D:\Backup\桌面\未命名1.bmp  --*/
/*--  寬度x高度=128x32  --*/
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,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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,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,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,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,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,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,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,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
};
 
 
/*------------------初始化-----------------*/
void init_lcd (void)
{
  rst=1;
  psb=1;
  wr_lcd (comm,0x30);  /*30---基本指令動作*/   
  wr_lcd (comm,0x01);  /*清屏,地址指針指向00H*/
  wr_lcd (comm,0x06);  /*光標的移動方向*/
  wr_lcd (comm,0x0c);  /*開顯示,關游標*/
}
/*---------------顯示漢字或字符----------------*/
void chn_disp (uchar code *chn)
{
  uchar i,j;
  wr_lcd (comm,0x30);
  wr_lcd (comm,0x80);
  for (j=0;j<4;j++)
  {
    for (i=0;i<16;i++)
    wr_lcd (dat,chn[j*16+i]);
  }
}
/*-----------上半屏顯示漢字或字符------------*/
void chn_disp1 (uchar code *chn)
{
  uchar i,j;
  wr_lcd (comm,0x30);
  wr_lcd (comm,0x80);
  j=0;
  for (i=0;i<16;i++)
  wr_lcd (dat,chn[j*16+i]);
  wr_lcd (comm,0x90);
  j=1;
  for (i=0;i<16;i++)
  wr_lcd (dat,chn[j*16+i]);
}
/*----------------顯示圖形-----------------*/
void img_disp (uchar code *img)
{
  uchar i,j;
  for(j=0;j<32;j++)
  {
    for(i=0;i<8;i++)
    {
      wr_lcd (comm,0x34);
      wr_lcd (comm,y+j);
      wr_lcd (comm,x1+i);
      wr_lcd (comm,0x30);
      wr_lcd (dat,img[j*16+i*2]);
      wr_lcd (dat,img[j*16+i*2+1]);
    }
  }
  for(j=32;j<64;j++)
  {
    for(i=0;i<8;i++)
    {
      wr_lcd (comm,0x34);
      wr_lcd (comm,y+j-32);
      wr_lcd (comm,x2+i);
      wr_lcd (comm,0x30);
      wr_lcd (dat,img[j*16+i*2]);
      wr_lcd (dat,img[j*16+i*2+1]);
    }
  }
  wr_lcd (comm,0x36);
}
/*-------------下半屏顯示圖形--------------*/
void img_disp1 (uchar code *img)
{
  uchar i,j;
  for(j=0;j<32;j++)
  {
    for(i=0;i<8;i++)
    {
      wr_lcd (comm,0x34);
      wr_lcd (comm,y+j);
      wr_lcd (comm,x2+i);
      wr_lcd (comm,0x30);
      wr_lcd (dat,img[j*16+i*2]);
      wr_lcd (dat,img[j*16+i*2+1]);
    }
  }
  wr_lcd (comm,0x36);
}
/*--------------顯示點陣----------------*/
void lat_disp (uchar data1,uchar data2)
{
  uchar i,j,k,x;
  x=x1;
  for(k=0;k<2;k++)
  {
    for(j=0;j<16;j++)
    {
      for(i=0;i<8;i++)
      {
        wr_lcd (comm,0x34);
        wr_lcd (comm,y+j*2);
        wr_lcd (comm,x+i);
        wr_lcd (comm,0x30);
        wr_lcd (dat,data1);
        wr_lcd (dat,data1);
      }
      for(i=0;i<8;i++)
      {
        wr_lcd (comm,0x34);
        wr_lcd (comm,y+j*2+1);
        wr_lcd (comm,x+i);
        wr_lcd (comm,0x30);
        wr_lcd (dat,data2);
        wr_lcd (dat,data2);
      }
    }
    x=x2;
  }
  wr_lcd (comm,0x36);
}
/*-----------------------------------------------*/
//當data1=0xff,data2=0xff時,在x0,y0處反白顯示16xl*yl.
void con_disp (uchar data1,uchar data2,uchar x0,uchar y0,uchar xl,uchar yl)
{
  uchar i,j;
  for(j=0;j<yl;j++)
  {
    for(i=0;i<xl;i++)
    {
      wr_lcd (comm,0x34);
      wr_lcd (comm,y0+j);
      wr_lcd (comm,x0+i);
      wr_lcd (comm,0x30);
      wr_lcd (dat,data1);
      wr_lcd (dat,data2);
    }
  }
  wr_lcd (comm,0x36);
}
/*--------------清DDRAM------------------*/
void clrram (void)
{
  wr_lcd (comm,0x30);
  wr_lcd (comm,0x01);
}
/*---------------------------------------*/
void wr_lcd (uchar dat_comm,uchar content)
{
  chk_busy ();
  if(dat_comm)
   {
    rs=1;   //data
    rw=0;   //write
   }
  else 
   {
    rs=0;   //command
    rw=0;   //write
   }
  P2=content;   //output data or comm
  e=1;
  ;
  e=0;
}
 
void chk_busy (void)
{
  P2=0xff;
  rs=0;
  rw=1;
  e =1;
  while(busy==1);
  e =0;
}
 
void delay (uint us)   //delay time
{
  while(us--);
}
void delay1 (uint ms)
{
  uint i,j;
  for(i=0;i<ms;i++)
  for(j=0;j<15;j++)
  delay(1);
}
/*------------------主程序--------------------*/
void main ()
{
  SP=0x5f;
  init_lcd ();
  while (1)
  {
    lat_disp (0x00,0x00);
    chn_disp (tab1);
    con_disp (0xff,0xff,0x8c,0x80,2,16);
    delay1 (28000);
    clrram();
    lat_disp (0xcc,0xcc);
    delay1 (28000);
    lat_disp (0x00,0x00);
    chn_disp1 (tab31);
    img_disp1 (tab32);
    delay1 (28000);
    clrram();
    lat_disp (0xff,0x00);
    delay1 (28000);
    img_disp (tab5);
    delay1 (28000);
  }

?

群創液晶屏 友達液晶屏 京東方液晶屏 京瓷液晶屏 龍騰液晶屏 天馬液晶屏 奇美液晶屏 三菱液晶屏

主站蜘蛛池模板: 亚洲网站视频| 国产区免费在线观看| 耽肉高h喷汁呻吟| 日本人HD18HD18| 亚洲精品嫩草AV在线观看| 日本怡春院欧美一区二区三区| 一本在线免费视频| 日韩色图区| 亚洲色欲色欲www在线观看| 一个综合色| 精品免费在线视频| 亚洲色欲啪啪久久WWW综合网| 一本之道无吗一二三区| 一本大道久东京| 无码免费一区二区三区免费播放| 综合色天天| 亚洲ⅴa偷拍在线影院| 19不插片免费视频| 久久午夜夜伦痒痒想咳嗽P| 少妇精品无码一区二区三区| 午夜欧美福利| 四虎精品永久在线| 特级老女人淫片高清视频| 亚洲网视频| 含羞草在线| 一起碰一起噜一起草视频| 四虎永久在线精品视频免费观看| 天天躁夜夜躁狠狠躁躁88| 双性总裁被调教1v1| 一级片特黄| 久久久无码精品无码国产人妻丝瓜| 亚洲精品在线网址| 欧美日韩在线观看视频| 天天射天天操天天色| 我和寂寞孕妇的性事| 在线视频综合视频免费观看| 久久亚洲AV成人无码国产漫画| 一级aa免费视频毛片| 色综合手机在线| 亚洲欧美日韩国产精品一区| 香蕉久久久|