KS0107 KS0108控制的19264液晶驱动程序C51示例

作者:Joey 分类: 液晶显示 发布于:2016-4-23 18:11 ė2119次浏览 61条评论

//              19264 Demo Program
//***************************************************************************
//连线表:  CPU=89C52                                                        *
//RS=P3.0     R/W=P3.1     E=P3.2     CS1=P3.3     CS2=P3.4     CS3=P3.5    *
//SysClock=12MHz           DB0-DB7=P1.0-P1.7       /Reset=InBoard           *
//***************************************************************************

#include <reg52.h>
#include <stdlib.h>
#include <intrins.h>
#include <stdio.h>

/********************引脚定义********************/

sbit    RS  =P3^0;      //数据指令
sbit    RW  =P3^1;      //读写
sbit    E   =P3^2;      //使能
sbit    CSL =P3^3;      //左片选
sbit    CSM =P3^4;      //中片选
sbit    CSR =P3^5;      //右片选

unsigned char Page;     //页 地址
unsigned char Col;      //列 地址

unsigned char code BMP1[];
unsigned char code BMP2[];

void Delay(unsigned int MS);
void wtcom(void);

/***************************/
/*检查Busy                 */
/***************************/
void BusyL(void)
{
        CSL= 0;
        CSM= 1;
        CSR= 1;
        wtcom();
}

void BusyM(void)
{
        CSL= 1;
        CSM= 0;
        CSR= 1;
        wtcom();
}

void BusyR(void)
{
        CSL= 1;
        CSM= 1;
        CSR= 0;
        wtcom();
}

void wtcom(void)
{
        RS = 0;         //指令
        RW = 1;
        P1 = 0xFF;      //输出0xff以便读取正确
        E  = 1;
        _nop_();
        while(P1 & 0x80);       //Status Read Bit7 = BUSY
        E  = 0;
        _nop_();
}

/********************************************************/
/*根据设定的坐标数据,定位LCM上的下一个操作单元位置     */
/********************************************************/
void Locatexy(void)
{
        unsigned char x,y;
        switch (Col&0xc0)       /*  col.and.0xC0        */
        {                       /*条件分支执行          */
                case 0: {BusyL();break;}/*左区  */
                case 0x40:      {BusyM();break;}/*中区  */
                case 0x80:      {BusyR();break;}/*右区  */
        }
        x = Col&0x3F|0x40;      /* col.and.0x3f.or.Set Y Address*/
        y = Page&0x07|0xB8;     /* row.and.0x07.or.set Page     */
        wtcom();                /* waitting for enable  */
        RS = 0;                 //指令
        RW = 0;                 //写
        P1 = y;                 //设置页面地址
        E  = 1;
        _nop_();
        E  = 0;
        _nop_();
        wtcom();                /*  waitting for enable */
        RS = 0;
        RW = 0;
        P1 = x;                 //设置列地址
        E  = 1;
        _nop_();
        E  = 0;
        _nop_();
}

/***************************/
/*写指令                   */
/***************************/
void WriteCommandL( unsigned char CommandByte )
{
        BusyL();
        P1 = CommandByte;
        RS = 0;         //指令
        RW = 0;
        E  = 1;
        _nop_();
        E  = 0;
        _nop_();
}

void WriteCommandM( unsigned char CommandByte )
{
        BusyM();
        P1 = CommandByte;
        RS = 0;         //指令
        RW = 0;
        E  = 1;
        _nop_();
        E  = 0;
        _nop_();
}

void WriteCommandR( unsigned char CommandByte )
{
        BusyR();
        P1 = CommandByte;
        RS = 0;         //指令
        RW = 0;
        E  = 1;
        _nop_();
        E  = 0;
        _nop_();
}

/***************************/
/*读数据                   */
/***************************/
unsigned char ReadData( void )
{
        unsigned char DataByte;
        Locatexy();     /*坐标定位,返回时保留分区状态不变      */
        RS = 1;         /*数据输出*/
        RW = 1;         /*读入  */
        P1 = 0xFF;              //输出0xff以便读取正确
        E  = 1;         /*读入到LCM*/
        _nop_();
        DataByte = P1;  /*数据读出到数据口P1 */
        E  = 0;
        _nop_();
        return DataByte;
}

/***************************/
/*写数据                   */
/***************************/
void WriteData( unsigned char DataByte )
{
        Locatexy();     /*坐标定位,返回时保留分区状态不变      */
        RS = 1;         /*数据输出*/
        RW = 0;         /*写输出  */
        P1 = DataByte;  /*数据输出到数据口 */
        E  = 1;         /*写入到LCM*/
        _nop_();
        E  = 0;
        _nop_();
}

void LcmClear( void )
{
        Page = 0;
        Col  = 0;
        for(Page=0;Page<8;Page++)
                for(Col=0;Col<192;Col++)
                        WriteData(0);
}

void LcmInit( void )
{
        WriteCommandL(0x3f);    //开显示
        WriteCommandM(0x3f);
        WriteCommandR(0x3f);
        
        WriteCommandL(0xc0);    //设置起始地址=0
        WriteCommandM(0xc0);
        WriteCommandR(0xc0);

        WriteCommandL(0x3f);    //开显示
        WriteCommandM(0x3f);
        WriteCommandR(0x3f);

        LcmClear();
        Col = 0;
        Page= 0;
        Locatexy();
}

void LcmPutDots( unsigned char DotByte )
{
        Page = 0;
        Col  = 0;
        for(Page=0;Page<8;Page++)
        {
                for(Col=0;Col<192;Col++)
                {
                        WriteData( DotByte );
                        DotByte = ~DotByte;
                }
        }
}

void LcmPutBMP( unsigned char *puts )
{
        unsigned int X=0;
        Page = 0;
        Col  = 0;
        for(Page=0;Page<8;Page++)
        {
                for(Col=0;Col<192;Col++)
                {
                        WriteData( puts[X] );
                        X++;
                }
        }
}

void LcmReverseBMP( void )
{
        unsigned char temp;
        Page = 0;
        Col  = 0;
        for(Page=0;Page<8;Page++)
        {
                for(Col=0;Col<192;Col++)
                {
                        temp = ReadData();      //空读一次
                        temp = ReadData();
                        temp = ~temp;
                        WriteData(temp);
                }
        }
}

void Delay(unsigned int MS)
{
        unsigned char us,usn;
        while(MS!=0)
        {
                usn = 2;        //for 12M
                while(usn!=0)
                {
                        us=0xf6;
                        while (us!=0){us--;};
                        usn--;
                }
                MS--;
        }
}

void Main( void )
{
        Delay(200);     //等待复位
        LcmInit();
        LcmClear();
        while(1)
        {
                LcmPutBMP(BMP1);
                Delay(1500);
                LcmReverseBMP();
                Delay(1500);
                LcmPutBMP(BMP2);
                Delay(1500);
                LcmReverseBMP();
                Delay(1500);
        }
}

unsigned char code BMP1[]={
/*--  宽度x高度=192x64  --*/
0xFF,0x01,0xFD,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0xFD,0x01,0xFF,
0xFF,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0xF8,0x00,0x00,0x00,
0x00,0x00,0x00,0xE0,0x10,0x08,0x08,0x08,0x08,0x10,0xE0,0x00,0x00,0x70,0x08,0x08,
0x08,0x08,0x08,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x80,0x60,0x10,0x08,0x08,0x08,0x08,0x30,0x00,0x00,0x00,0x00,0xC0,0x20,0x10,
0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0xFE,0x82,0x42,0x32,0x3E,0x56,0x92,0x52,0x32,
0x12,0x02,0x02,0x02,0xFE,0x00,0x00,0x00,0x00,0x04,0x04,0xFC,0x04,0x04,0x04,0xFC,
0x04,0x84,0xC4,0x20,0x10,0x08,0x86,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x80,
0x80,0x80,0x80,0x7E,0x90,0x90,0x90,0x90,0xD0,0x08,0x00,0x00,0x00,0x00,0x00,0xFC,
0x04,0x44,0xB4,0x0E,0x10,0x10,0xF0,0x1C,0x16,0xD0,0x10,0x10,0x10,0x08,0x00,0x00,
0x00,0x00,0x20,0xE0,0xFE,0xA0,0x18,0x28,0xE8,0x48,0x5E,0x48,0x48,0x5F,0x48,0xE8,
0x04,0x00,0x00,0x00,0x40,0x40,0x40,0xFE,0x40,0x60,0x60,0x20,0x20,0xFE,0x22,0x20,
0x20,0x20,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0xFF,
0xFF,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xFF,0x80,0x80,0x00,
0x00,0x00,0x00,0x61,0x82,0x84,0x84,0x84,0x44,0x32,0x0F,0x00,0x00,0xC0,0xA0,0x90,
0x88,0x84,0x83,0xE0,0x00,0x00,0x00,0x81,0xC3,0xA5,0x18,0x18,0xA5,0xC3,0x81,0x00,
0x00,0x3F,0x42,0x81,0x81,0x81,0x81,0x42,0x3C,0x00,0x00,0x0C,0x0B,0x08,0x88,0x88,
0xFF,0x88,0x88,0x00,0x00,0x00,0x00,0xFF,0x08,0x04,0x02,0x22,0x25,0x24,0x69,0x42,
0x02,0x06,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x80,0x61,0x1F,0x01,0x01,0x01,0xFF,
0x01,0x08,0x08,0x84,0x82,0x41,0x20,0x18,0x00,0x00,0x00,0x00,0x00,0x80,0x1F,0x1F,
0x10,0xD0,0x10,0x10,0x10,0xD0,0x10,0x10,0x1F,0x40,0x80,0x00,0x00,0x00,0x00,0xFF,
0x10,0x10,0x10,0x1F,0x20,0x23,0x22,0x22,0x22,0xFF,0x22,0x22,0x22,0x11,0x10,0x00,
0x00,0x18,0x06,0x01,0xFF,0x00,0x03,0x20,0x2F,0x25,0xE5,0x3D,0x25,0x65,0xA5,0x27,
0x10,0x10,0x00,0x00,0x40,0x60,0x20,0x3F,0x24,0x14,0x94,0xC4,0x64,0x1F,0x0C,0x14,
0x64,0xC4,0x83,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0xFF,
0xFF,0x00,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,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x02,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x01,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x03,0x02,0x02,0x02,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x01,
0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0xFF,
0xFF,0x00,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,0xF0,0x10,0x10,0x90,0xF0,0xB0,0x90,0x90,0x90,0x90,
0x10,0x10,0x10,0xF0,0x00,0x00,0x00,0x00,0x20,0x20,0xE0,0x20,0x20,0x20,0xE0,0x20,
0x20,0x20,0x00,0x80,0x40,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xF0,0x00,0xC0,0x40,0x40,0x40,0xF0,0x40,0x40,0xF8,0x40,0x40,0x20,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0x10,0x00,0x10,
0x60,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,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,0x00,0xFF,
0xFF,0x00,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,0xFF,0x44,0x22,0x11,0x11,0x2A,0x24,0x4A,0x11,0x10,
0x30,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x08,0xFF,0x08,0x08,0x08,0xFF,0x08,
0x44,0x46,0x21,0x10,0x08,0x04,0xC4,0x00,0x00,0x00,0x00,0x00,0x20,0xCF,0x09,0x09,
0xF9,0x19,0x09,0x09,0xF9,0x09,0x09,0x8F,0x60,0x00,0x00,0x00,0x00,0x04,0x04,0x04,
0xC4,0x74,0x14,0x04,0x04,0xFC,0x04,0x04,0x14,0x24,0x44,0x84,0x02,0x00,0x00,0x00,
0xC0,0x31,0x0F,0xFF,0x05,0x18,0x01,0x7F,0x2A,0x2A,0xEA,0x2A,0x2A,0x2A,0x3F,0x80,
0x80,0x00,0x00,0x00,0x01,0x11,0x11,0xF1,0x11,0x11,0x09,0x01,0x03,0x7F,0xC1,0x01,
0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,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,0x00,0xFF,
0xFF,0x00,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,0x0F,0x08,0x08,0x08,0x09,0x09,0x09,0x0B,0x0A,0x08,
0x08,0x08,0x08,0x0F,0x00,0x00,0x00,0x08,0x04,0x03,0x00,0x00,0x00,0x00,0x0F,0x10,
0x10,0x08,0x04,0x04,0x02,0x01,0x00,0x00,0x00,0x00,0x08,0x08,0x08,0x08,0x0B,0x08,
0x0F,0x08,0x08,0x08,0x0F,0x0A,0x09,0x08,0x08,0x0C,0x08,0x00,0x00,0x04,0x02,0x01,
0x00,0x00,0x00,0x08,0x18,0x0F,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x00,0x00,0x00,
0x00,0x00,0x00,0x1F,0x10,0x10,0x11,0x09,0x09,0x07,0x01,0x01,0x03,0x05,0x09,0x18,
0x08,0x00,0x00,0x04,0x0C,0x04,0x04,0x03,0x02,0x02,0x02,0x02,0x01,0x00,0x01,0x03,
0x04,0x08,0x1E,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,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,0x00,0xFF,
0xFF,0x80,0xBF,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xBF,0x80,0xFF,        
};

unsigned char code BMP2[]={
/*--  宽度x高度=192x64  --*/
0xFF,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,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,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,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,
0x80,0xC0,0xC0,0xA0,0xB0,0x90,0x98,0x98,0x9C,0x9C,0xBC,0xBC,0x38,0x58,0x98,0x18,
0x30,0xE0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0xFC,0xFC,
0xFC,0xFC,0xFC,0xFC,0xF8,0xF0,0xF8,0xF8,0xFC,0xF8,0xF8,0xF8,0xF0,0xC0,0x80,0x80,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0xFE,0x06,0x06,0x06,0x0C,
0x0C,0x98,0xF8,0xE0,0xF0,0xF0,0xF0,0xF8,0xF8,0xF8,0xF8,0xF8,0xF8,0xF8,0xF8,0xF8,
0xF8,0xF8,0xF0,0xF0,0xF0,0xE0,0xF0,0xF8,0x98,0x0C,0x0C,0x06,0x06,0x06,0xFE,0xFC,
0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xC0,0xA0,0xB0,0x90,0x98,0x98,0x9C,0x9C,
0xBC,0xBC,0x38,0x58,0x98,0x18,0x30,0xE0,0xC0,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,0x7C,0x42,
0x81,0xFD,0x83,0xC1,0xFC,0xE2,0xC1,0xFE,0x61,0x40,0xFF,0xE1,0xC1,0xE2,0xC6,0x8D,
0xF0,0xC0,0x01,0x3F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x80,0x80,0x80,0xE0,0xF8,0xF8,0xFC,0xFF,0xFF,0xFF,0xFF,0xF1,0x00,0x00,0x03,0x03,
0x33,0x33,0x03,0x03,0x03,0x33,0x33,0x07,0x03,0x01,0xC1,0xE1,0xF3,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFE,0xE0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xCF,0xFC,0xF8,0xFE,
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,0xFC,0xF8,0xF8,0x9E,0x07,0x01,
0x00,0x00,0x00,0x00,0x7C,0x42,0x81,0xFD,0x83,0xC1,0xFC,0xE2,0xC1,0xFE,0x61,0x40,
0xFF,0xE1,0xC1,0xE2,0xC6,0x8D,0xF0,0xC0,0x01,0x3F,0xFE,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,0x1F,0x3F,0xE5,0xCB,0x8F,0x23,0x40,0x20,0x85,0x8B,0xCF,0xE1,0xF3,0xFF,
0xFF,0xFF,0xC0,0xFE,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x78,0x04,0x02,0x02,0x01,0x01,
0x00,0x00,0xE0,0xF9,0xFF,0xFF,0xFF,0xFF,0xFF,0x0F,0x07,0x03,0x00,0x00,0x00,0x00,
0x00,0x30,0x28,0x28,0x38,0x30,0x00,0x00,0x00,0x00,0x03,0x07,0x0F,0x3F,0xFF,0xFF,
0xFF,0xFF,0xFF,0xF7,0xE3,0x00,0x00,0x00,0x00,0x20,0x20,0x20,0x7F,0xFF,0xFF,0xFF,
0xFF,0x83,0x01,0x01,0x01,0x31,0x79,0x31,0x83,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xCF,0x23,0x71,0x71,0x21,0x01,0x01,0x03,0x87,0xFF,0xFF,0xFF,0xFF,0x7F,0x40,0x40,
0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x1F,0x3F,0xE5,0xCB,0x8F,0x23,0x40,0x20,
0x85,0x8B,0xCF,0xE1,0xF3,0xFF,0xFF,0xFF,0xC0,0xFE,0xFF,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,0x3C,0x52,0xF9,0x80,0x00,0x03,0x05,0x05,0x03,0x01,0x00,0x40,0xE1,0xA3,
0x57,0x3F,0x1F,0x0F,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xF8,0xF8,0xF8,
0xF8,0xF8,0xF0,0x00,0x00,0x00,0x80,0xE0,0x28,0x27,0xE0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xC1,0x03,0x9F,0x3F,0x7F,0x7F,0x7F,0xFC,0xF8,0xF0,0xE0,0xC0,0x80,0x80,
0x80,0x80,0x80,0x80,0x00,0x00,0x80,0x80,0x80,0xC0,0xE0,0xF0,0xF8,0xFC,0xFF,0xFF,
0xFF,0xFF,0xFF,0x3F,0x03,0x00,0x00,0x00,0x00,0x10,0x10,0x18,0x08,0x0D,0x07,0x07,
0x0F,0x1F,0x1F,0x3E,0x3E,0x7E,0x7E,0x7F,0xFF,0x7F,0x7F,0x7D,0x7C,0x7C,0x7D,0x7F,
0x7F,0xFF,0x7E,0x7E,0x7E,0x7E,0x3E,0x3F,0x1F,0x1F,0x0F,0x0F,0x09,0x10,0x10,0x20,
0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x52,0xF9,0x80,0x00,0x03,0x05,0x05,
0x03,0x01,0x00,0x40,0xE1,0xA3,0x57,0x3F,0x1F,0x0F,0x07,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,0x03,0x7E,0x86,0x0E,0x1E,0x8E,0x06,0x02,0xC2,0x7F,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x03,0x03,
0x03,0x03,0x05,0x04,0x04,0x07,0x05,0x02,0x00,0x00,0xFD,0x00,0x00,0x00,0x00,0x00,
0xAC,0x03,0x00,0x00,0x3F,0x00,0x00,0x00,0x01,0x03,0x87,0xAF,0x0F,0xFF,0x0F,0x07,
0x1F,0x1F,0xBF,0x3F,0x3F,0x3F,0xDF,0x0F,0x0F,0x1F,0x1F,0xFF,0x0F,0x0F,0x07,0x01,
0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x70,0xE0,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xF6,0xC6,0x3E,0x7E,0x7E,0x7E,0x32,
0x86,0xFF,0xFE,0xF0,0xF0,0xF0,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x7E,0x86,0x0E,0x1E,
0x8E,0x06,0x02,0xC2,0x7F,0x00,0x00,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,0x60,0x53,0x4E,0x40,0x7F,0x80,0x80,0x9F,0xA0,0xC0,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x08,0x08,0x08,0x08,0x08,
0x0B,0x00,0x06,0x00,0x03,0x04,0x04,0x0C,0x04,0x0C,0x1D,0x05,0x00,0x57,0xE0,0xC0,
0xC0,0x54,0x7B,0x00,0x1C,0x24,0x27,0x40,0x20,0x40,0x40,0x63,0x24,0x18,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x03,0x06,0x06,0x06,0x06,0x06,0x06,0x03,0x01,0x03,0x3F,0x7F,0x7F,0x7E,0x7E,0x7F,
0x63,0x03,0x03,0x03,0x03,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x53,0x4E,0x40,
0x7F,0x80,0x80,0x9F,0xA0,0xC0,0x00,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,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,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,
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,
};

本文出自 LcdBBS,转载时请注明出处及相应链接。

0

评论

  1. Joey 2017-01-04 19:47 回复

    baidu搜了一下KS0107 KS0108控制的19264
    结果前几个结果都是我的这个程序,有的还标注了一下是从我的百度空间转来的,有些都不写。。。
    看来以后发程序需要在图片内容里面留个网址?
    因为他们连图片数据都一起复制了:)

发表评论

电子邮件地址不会被公开。必填项已用*标注


Ɣ回顶部