当前位置:首页 >> 信息与通信 >>

不带字库12864程序实例


/******************************************************************** *************************/ // 开 //

/******************************************************************** *****

******************** //头 // /******************************************************************** *************************/ #include <reg52.h> // #include <string.h> // 头 针 件 件 义

/******************************************************************** ************************* // // /******************************************************************** *************************/ #define LCM12864_DB7_DB0 P0 // sbit LCM12864_RS = P2 ^ 3; // sbit LCM12864_RW = P2 ^ 4; // sbit LCM12864_E = P2 ^ 2; // sbit LCM12864_CS1 = P2 ^ 7; // 义LCM12864 数据总线 线 线 口 义

义LCM12864 RS控 义LCM12864 RW控 义LCM12864 E控 线

义LCM12864 CS1控

线

sbit LCM12864_CS2 = P2 ^ 6; // sbit LCM12864_RESET = P2 ^ 5; // sbit LCM12864_LEDK = P2 ^ 0; //

义LCM12864 CS2控

线 线

义LCM12864 RESET控 义LCM12864

LEDK(BLK)控 线

/******************************************************************** ************************* //数据 // 义

义LCM12864

/******************************************************************** *************************/ #define LCM12864_DISP_ON 0x3f // 开LCM12864显

#define LCM12864_DISP_OFF 0x3e // 关 关 LCM12864显 #define LCM12864_START_ROW 0xc0 // 显 LCM12864_START_ROW+x设 。(x<64) ,可 0,可

#define LCM12864_PAGE_START_ADDR 0xb8 // 页 LCM12864_PAGE_START_ADDR+x设
当 页 。(x<8)

#define LCM12864_COL_START_ADDR 0x40 // LCM12864_COL_START_ADDR+x设 // //
义 LCM12864 状状屏 码 当

,可

。(x<64)

BUSY 。

REST状 状 时 , 读 状 状





对 LCM12864产

//

对 LCM12864

查 查 BUSY状 状 ,



对 LCM12864进



#define LCM12864_STATUS_BUSY 0x80 // LCM12864 状 状 屏 #define LCM12864_STATUS_DISP_OFF 0x20 // LCM12864显


码 关关状状屏

#define LCM12864_STATUS_REST 0x10 // LCM12864复

状状屏



/******************************************************************** ************************* // // /******************************************************************** *************************/ /*-/*-/* 纵 : 欢 --*/ 12; ,
节 对对 阵 为 :宽 x高=16x16 --*/

/图

义库

*/

unsigned char code huan1[]={ 0x0C,0x6C,0xEC,0x8C,0xFC,0x3C,0x40,0x70,0x3F,0xCF,0xCC,0x0C,0x3C ,0x3C,0x00,0x00, 0x10,0x38,0x1C,0x07,0x07,0x4C,0x60,0x30,0x18,0x0F,0x07,0x0C,0x18,0 x30,0x20,0x00, }; /*-/*-/* 纵 : 12; ,


--*/
对对 阵 为 :宽 x高=16x16 --*/

*/

unsigned char code ying2[]={ 0x60,0x66,0xEE,0xE8,0x00,0xFE,0xFE,0x07,0x03,0xFE,0xFE,0x06,0xFE,0 xFE,0x00,0x00, 0x40,0x60,0x3F,0x1F,0x30,0x67,0x67,0x62,0x60,0x6F,0x6F,0x62,0x67,0x 67,0x60,0x00 }; /////////////////////////////////////////////////////////////////// // ASCII // 码 //
数据

//

从 0x20~0x7e // 库 :Asc8X16E.dat 纵



//

/////////////////////////////////////////////////////////////////// unsigned char code nAsciiDot[] = // ASCII 0x04,0xFC,0xFC,0x04,0x0C,0xF8,0xF0,0x00, // -D0x08,0x0F,0x0F,0x08,0x0C,0x07,0x03,0x00, 0xE0,0xE0,0x00,0x00,0x00,0xE0,0xE0,0x00, // -y0x47,0x4F,0x48,0x48,0x68,0x3F,0x1F,0x00, 0x00,0x10,0x18,0xFC,0xFC,0x00,0x00,0x00, // -10x00,0x08,0x08,0x0F,0x0F,0x08,0x08,0x00, 0x08,0x0C,0x84,0xC4,0x64,0x3C,0x18,0x00, // -20x0E,0x0F,0x09,0x08,0x08,0x0C,0x0C,0x00, 0xB8,0xFC,0x44,0x44,0x44,0xFC,0xB8,0x00, // -80x07,0x0F,0x08,0x08,0x08,0x0F,0x07,0x00,

0xF0,0xF8,0x4C,0x44,0x44,0xC0,0x80,0x00, // -60x07,0x0F,0x08,0x08,0x08,0x0F,0x07,0x00, 0xC0,0xE0,0xB0,0x98,0xFC,0xFC,0x80,0x00, // -40x00,0x00,0x00,0x08,0x0F,0x0F,0x08,0x00, }; ///////////////////////////////////////////////////////////////////////// // Bitmap // 图 // // 图 : 128 * 64 //
阵数据

// 高 ,数 据 :从


: C:\..鎈 doyleee.bmp,纵

///////////////////////////////////////////////////////////////////////// unsigned char code doyleee[] = // 数 据 { 0xFF,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x81,0xF1,0xF1,0xF1,0x71,0x31, 0x31,0x71,0xF1,0xF1,0xE1,0xC1,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x81,0xF1,0xF1,0xF1,0x71,0x01,0x01,0x01,

0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0xFF, 0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0xF0,0xFF,0xFF,0xFF,0x0F,0x00,0x00, 0x00,0x00,0xC0,0xFF,0xFF,0xFF,0x7F,0x00, 0x00,0xF0,0xFC,0xFE,0xFE,0x0F,0x03,0x03, 0x07,0xFF,0xFE,0xFE,0xF8,0x00,0xE0,0xE0, 0xE0,0xE0,0x00,0x03,0x3F,0xFF,0xFF,0xFC, 0xC0,0xF0,0xFE,0x3F,0x0F,0x03,0x00,0xF0, 0xFF,0xFF,0xFF,0x0F,0x00,0x00,0xF0,0xFC, 0xFE,0xFE,0x3F,0x33,0x33,0x33,0x3F,0x3F, 0x3E,0x38,0x00,0x00,0xF0,0xFC,0xFE,0xFE, 0x3F,0x33,0x33,0x33,0x3F,0x3F,0x3E,0x38, 0x00,0x00,0xF0,0xFC,0xFE,0xFE,0x3F,0x33, 0x33,0x33,0x3F,0x3F,0x3E,0x38,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF, 0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80, 0x8E,0x8F,0x8F,0x8F,0x8C,0x8C,0x8C,0x8C, 0x8E,0x8F,0x87,0x87,0x83,0x81,0x80,0x80, 0x80,0x81,0x87,0x87,0x8F,0x8E,0x8C,0x8C, 0x8F,0x87,0x87,0x83,0x80,0x80,0x80,0xC0, 0xC0,0xC0,0xC0,0xC0,0xC0,0xF3,0x7F,0x3F, 0x0F,0x03,0x00,0x00,0x00,0x00,0x0E,0x0F, 0x0F,0x0F,0x00,0x00,0x00,0x00,0x01,0x07, 0x07,0x0F,0x0E,0x0C,0x0C,0x0F,0x07,0x03, 0x01,0x00,0x00,0x00,0x01,0x07,0x07,0x0F, 0x0E,0x0C,0x0C,0x0F,0x07,0x03,0x01,0x00, 0x00,0x00,0x01,0x07,0x07,0x0F,0x0E,0x0C, 0x0C,0x0F,0x07,0x03,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF, 0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF, 0xFF,0x40,0x40,0x40,0x40,0x40,0x40,0x40, 0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40, 0x40,0x40,0x40,0x40,0x40,0x00,0x00,0xFC, 0xFC,0x04,0x0C,0xF8,0xF0,0x00,0x00,0xF0, 0xF0,0x00,0x00,0xF0,0xF0,0x00,0x00,0x40, 0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x10, 0x10,0x18,0xFC,0xFC,0x00,0x00,0x00,0x18, 0x1C,0x84,0xC4,0x7C,0x38,0x00,0x00,0xB8, 0xFC,0x64,0xC4,0xFC,0xB8,0x00,0x00,0xE0, 0xF0,0x3C,0x2C,0xE4,0xC0,0x00,0x00,0x80, 0xFC,0x7C,0x00,0xF0,0xF0,0x00,0x00,0xFC,

0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0xF8, 0xFC,0x04,0x04,0x1C,0x18,0x00,0x00,0x40, 0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40, 0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40, 0x40,0x40,0x40,0x40,0x40,0x40,0x40,0xFF, 0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07, 0x07,0x04,0x06,0x03,0x01,0x00,0x20,0x23, 0x27,0x34,0x1C,0x0F,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x07,0x07,0x04,0x00,0x00,0x06, 0x07,0x05,0x04,0x04,0x04,0x00,0x00,0x03, 0x07,0x04,0x04,0x07,0x03,0x00,0x00,0x03, 0x07,0x04,0x04,0x07,0x03,0x00,0x00,0x01, 0x01,0x01,0x01,0x07,0x07,0x01,0x00,0x07, 0x07,0x04,0x04,0x04,0x04,0x00,0x00,0x03, 0x07,0x04,0x04,0x07,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF, 0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0xF0, 0x00,0x00,0x00,0x00,0xF0,0xF0,0x00,0x00, 0x00,0x20,0x20,0xF0,0xF0,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xF0, 0x10,0x10,0x90,0x50,0xF0,0xE0,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF, 0xFF,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x81,0x83, 0x86,0x8C,0x8C,0x86,0x83,0x81,0x80,0x80,

0x88,0x88,0x88,0x8F,0x8F,0x88,0x88,0x88, 0x80,0x80,0x8C,0x8C,0x80,0x80,0x87,0x8F, 0x8A,0x89,0x88,0x88,0x8F,0x87,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0xFF }; /******************************************************************** ************************ //软 件 // ********************************************************************* ************************/ void Delay(unsigned int count){ unsigned char i; while(--count != 0){ for(i = 0; i < 125; i++); // ";" } // i 从 0加 } 125, 12M 空语 句,CPU空转 。 CPU 概
时1 时 Delay()

/******************************************************************** ************************* //LCM12864测 // ********************************************************************* *************************/ void LCM12864_TestBusy(void){ LCM12864_RW = 1; LCM12864_RS = 0; LCM12864_E = 0; LCM12864_E = 1; while(LCM12864_DB7_DB0 & LCM12864_STATUS_BUSY); } /******************************************************************** ************************* //书 // ********************************************************************* *************************/ void LCM12864_WriteCMD(unsigned char LCM12864_command){ //LCM12864_command LCM12864_TestBusy();
书 数 LCM12864_TestBusy()

LCM12864 LCM12864_WriteCMD()

LCM12864_RW = 0; LCM12864_RS = 0; LCM12864_DB7_DB0 = LCM12864_command; LCM12864_E = 0; LCM12864_E = 1; LCM12864_TestBusy(); } /******************************************************************** ************************* //书 数 据 // ********************************************************************* *************************/ void LCM12864_WriteData(unsigned char LCM12864_data){ //LCM12864_command LCM12864_RW = 0; LCM12864_RS = 1; LCM12864_DB7_DB0 = LCM12864_data; LCM12864_E = 0; LCM12864_E = 1; LCM12864_TestBusy(); //读 LCM } /******************************************************************** ************************
书 数据

LCM12864 LCM12864_WriteData()

//从 LCM12864读 数 据 LCM12864_ReadData() // ********************************************************************* ************************/ unsigned char LCM12864_ReadData(void){ unsigned char LCM12864_data; LCM12864_E = 0; LCM12864_RW = 1; LCM12864_RS = 1; LCM12864_E = 1; LCM12864_data = LCM12864_DB7_DB0; // LCM12864_TestBusy(); //读 LCM return LCM12864_data; } /******************************************************************** ************************ // // /******************************************************************** ************************/ void LCM12864_Write1Byte_X_Y( unsigned char x, //x unsigned char y, //y
标 它 (0-63) 书 数据 标 它 (0-127)

8 数据

LCM12864



节 数 据 LCM12864_Write1Byte_X_Y()

unsigned char LCM12864_data){ //LCM12864_data

x = x&0x7f; y = y&0x3f; //参 数 参 参 LCM12864_CS1 = 1; LCM12864_CS2 = 1; // if(x<64){ //
断选断 选 屏 屏



屏 屏

LCM12864_CS1 = 0; // 选 } else{ LCM12864_CS2 = 0; // 选 x = x-64; }



LCM12864_WriteCMD(LCM12864_COL_START_ADDR+x); // 设 , x




LCM12864_WriteCMD(LCM12864_PAGE_START_ADDR+y); // 设 , y






LCM12864_WriteData(LCM12864_data); // }

LCM12864书 数 据

/******************************************************************** ************************ //从 LCM12864 // /******************************************************************** ************************/ unsigned char LCM12864_Read1Byte_X_Y( unsigned char x, //x
标它 读 数 据 LCM12864_Read1Byte_X_Y()

(0-127) unsigned char y){ //y 标 它 (0-63) unsigned char LCM12864_data; x = x&0x7f; y = y&0x3f; //参 数 参 参 LCM12864_CS1 = 1; LCM12864_CS2 = 1; // if(x<64){ //
断选断 选 屏 屏



屏 屏

LCM12864_CS1 = 0; // 选 } else{ LCM12864_CS2 = 0; // 选 x = x-64; }



LCM12864_WriteCMD(LCM12864_COL_START_ADDR+x); // 设 , x




LCM12864_WriteCMD(LCM12864_PAGE_START_ADDR+y); // 设 , y






LCM12864_data = LCM12864_ReadData(); // return LCM12864_data; }

LCM12864书 数 据

/******************************************************************** ************************ // LCM12864填
数 据 LCM12864_Fill_Screen()

// ********************************************************************* ************************/ void LCM12864_Fill_Screen( unsigned char t, //设
认 为 60) 涮屏

(为 1 涮 屏 ,

unsigned char LCM12864_FillData){ // unsigned char x,y;



数据

LCM12864_CS1 = 0;LCM12864_CS2 = 0; // 选

屏 显

屏 为0

LCM12864_WriteCMD(LCM12864_START_ROW+0); // 设 for(x=0;x<8;x++){ Delay(t); // 涮 屏


LCM12864_WriteCMD(LCM12864_PAGE_START_ADDR+x); // 设 LCM12864_WriteCMD(LCM12864_COL_START_ADDR);// // 设 for(y=0;y<64;y++) LCM12864_WriteData(LCM12864_FillData); } LCM12864_CS1 = 1; // LCM12864_CS2 = 1; // }
选 选 屏 屏



/******************************************************************** ************************ //LCM12864清 屏 LCM12864_Clear_Screen() //

********************************************************************* ************************/ void LCM12864_Clear_Screen(void){ LCM12864_Fill_Screen(60,0x00); //书 } /******************************************************************** ************************ //LCM12864 屏 LCM12864_Clear_black() // ********************************************************************* ************************/ void LCM12864_Clear_black(void){ LCM12864_Fill_Screen(0xff); //可书 } /******************************************************************** ************************ //显 // ********************************************************************* ************************/ void LCM12864_Disp_Bitmap_12864( unsigned char t, //设
涮屏, 认 为 60) 涮屏 它数它 填 填 LCD屏

0

个显



128*64图

LCM12864_Disp_Bitmap_12864()

(为 1

unsigned char code *bitmap_12864){ //128*64 unsigned char j,k; for(k=0;k<8;k++){ //设 Delay(t); LCM12864_CS1 = 0;LCM12864_CS2 = 1; // 8页


阵图

数数

屏选 页

LCM12864_WriteCMD(LCM12864_PAGE_START_ADDR+k); //选 LCM12864_WriteCMD(LCM12864_COL_START_ADDR+0); //选 for(j=0;j<64;j++){ LCM12864_WriteData(bitmap_12864[k*128+j]); //开 } LCM12864_CS1 = 1;LCM12864_CS2 = 0; LCM12864_WriteCMD(LCM12864_PAGE_START_ADDR+k); LCM12864_WriteCMD(LCM12864_COL_START_ADDR+0); for(j=64;j<128;j++){ LCM12864_WriteData(bitmap_12864[k*128+j]); } } }
书 数据

/******************************************************************** ************************ // LCM12864


16*16 阵 阵

LCM12864_Disp_Chinese_16_16()

// ********************************************************************* ************************/ void LCM12864_Disp_Char_x_16( unsigned char t, //设
显 书书

(为 1



认 为 12)

unsigned char b, //输

8:8*16

,16:16*16


unsigned char LCM12864_page, //LCM12864 unsigned char LCM12864_col, //LCM12864


(0~7) (0~128) :

64
阵阵

unsigned char code *Char_x_16){ //16*16 ) unsigned char j=0,i=0; if(LCM12864_col < 64 ){

(纵





LCM12864_CS1 = 0; LCM12864_CS2 = 1; // } else{ LCM12864_CS1 = 1; LCM12864_CS2 = 0; LCM12864_col = LCM12864_col - 64; } for(j=0;j<2;j++){

断屏

LCM12864_WriteCMD(LCM12864_PAGE_START_ADDR+LCM12864_page+ j);

LCM12864_WriteCMD(LCM12864_COL_START_ADDR+LCM12864_col); for(i=0;i<b;i++){ LCM12864_WriteData(Char_x_16[b*j+i]); Delay(t); } } } /******************************************************************** ************************ //LCM12864 // ********************************************************************* ************************/ void LCM12864_Init(void){ LCM12864_RESET = 0; //复 Delay(300); LCM12864_RESET = 1; Delay(300); LCM12864_Clear_Screen(); //清
屏 双屏

LCM12864_Init()

LCM12864_CS1 = 0; LCM12864_CS2 = 0; //选

LCM12864_WriteCMD(LCM12864_DISP_OFF); //关 显 LCM12864_WriteCMD(LCM12864_PAGE_START_ADDR+0); // 0页

LCM12864_WriteCMD(LCM12864_START_ROW+0); //

0 0

LCM12864_WriteCMD(LCM12864_COL_START_ADDR+0); // LCM12864_WriteCMD(LCM12864_DISP_ON); //开 显 }

/******************************************************************** *************************/ // LCM12864
块块块

/******************************************************************** *************************/ /******************************************************************** ************************ //LCM12864 // ********************************************************************* ************************/ void main (void){ unsigned char lx = 32,i; LCM12864_Init(); // LCM12864 while(1){ LCM12864_Disp_Bitmap_12864(60,doyleee); //显 Delay(1000); //
时1 屏 块块块

main()

LOGO图

LCM12864_Clear_Screen(); //清

for(i=0;i<7;i++){ //显

串“Dy12864”

LCM12864_Disp_Char_x_16(8,8,1,lx+8*i,nAsciiDot+16*i); //显 “Dy12864”,从 } Delay(1000); LCM12864_Disp_Char_x_16(12,16,4,46,huan1); //显 “欢 ”, 4页 46 1页 32

Delay(1000); LCM12864_Disp_Char_x_16(12,16,4,66,ying2); //显 Delay(1000); } } /******************************************************************** *************************/ //




”,

4页

66

/******************************************************************** *************************/


相关文章:
不带字库12864仿真
本人亲测,adc0804 采集温度并在 12864 上显示 联系本人有 protues 仿真和程序 ...带字库12864液晶详解 28页 免费 不带字库12864程序实例 23页 免费 12864点阵液晶...
基于proteus的不带字库的12864的仿真程序(带仿真图)
基于proteus 的不带字库12864 的仿真 程序(带仿真图) 作者:心如止水(武汉工程大学) /*** *** 本程序不带字库12864 汉字及英文字符的显示程序, 可以...
无字库12864测试程序
字库 12864 测试程序(纵向取模。字节倒序) crasyboye ***/ #include <reg51.h> #include <ctype.h> #include <string.h> #include <stdlib.h> #include...
12864不带字库
(提取字模 提取字模)的驱动程序 //编者:谢国华 //时间:2007 年 1 月 24 ...不带字库12864程序实例 23页 免费 LCD12864驱动程序(无字库... 11页 免费 ...
不带字库12864_Proteus仿真程序
不带字库12864_Proteus仿真程序_信息与通信_工程科技_专业资料。不带字库12864_Proteus...不带字库12864程序实例 23页 免费 基于proteus的不带字库的... 12页 2下...
12864无字库液晶显示程序
(显示整型数据) //延时 n 个机器周期 以下是.C 文件: #include<12864lcd.h...不带字库12864程序实例 23页 免费 LCD12864驱动程序(无字库... 11页 免费 1286...
lcd12864带字库经典程序
lcd12864带字库经典程序_信息与通信_工程科技_专业资料。/***...[ListLength]); //限制X不能大于,Y在-4之内 TempCycB=7269; while(TempCycB--); } }...
基于proteus的不带字库的12864的仿真程序(带仿真图)
未 --*/ /*-- 楷体_GB231212; 此字体下对应的点阵为:宽 x 高=16x16 ...不带字库12864程序实例 23页 免费 LCD12864驱动程序(无字库... 11页 免费 LCD...
带温度无字库12864的万年历程序
SW08A15_带温度无字库 12864 的万年历程序 带温度无字库文章来源:网络转载 ┊...不带字库12864程序实例 23页 免费 LCD12864液晶的使用 23页 1下载券 DS18B20...
12864带字库程序
不带字库12864程序实例 23页 免费 12864各种画图程序(带字库... 24页 5财富值...12864液晶显示程序 6页 免费如要投诉违规内容,请到百度文库投诉中心;如要提出功能...
更多相关标签: