资源简介

51单片机12864液晶屏proteus仿真(源代码+电路图)

资源截图

代码片段和文件信息

//*************************************************************************************************
//*   *
//*  ******************************游戏图像处理程序**************************   *
//*   *
//*************************************************************************************************
#include “at89x51.h“
#include “LCD12864.h“

#define frameLEFT 38    //边框范围:ucLine:36~127。



//*************************************************************************************************
//*   *
//*  ******************************游戏区域边框绘制函数**************************   *
//*   *
//*************************************************************************************************
void vShowframe()
{
unsigned char ucCount;
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<绘制左半屏>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
CS1=1;
CS2=0;
vWriteCMD(LCDPAGE);
vWriteCMD(LCDLINE+frameLEFT);
for(ucCount=frameLEFT;ucCount<64;ucCount++)
vWriteData(0xC0);

for(ucCount=1;ucCount<7;ucCount++)
{
vWriteCMD(LCDPAGE+ucCount);
vWriteCMD(LCDLINE+frameLEFT);
vWriteData(0xFF);
vWriteData(0xFF);
}

vWriteCMD(LCDPAGE+7);
vWriteCMD(LCDLINE+frameLEFT);
for(ucCount=frameLEFT;ucCount<64;ucCount++)
vWriteData(0x03);
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<绘制右半屏>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
CS1=0;
CS2=1;
vWriteCMD(LCDPAGE);
vWriteCMD(LCDLINE);
for(ucCount=0;ucCount<62;ucCount++)
vWriteData(0xC0);

for(ucCount=1;ucCount<7;ucCount++)
{
vWriteCMD(LCDPAGE+ucCount);
vWriteCMD(LCDLINE+60);
vWriteData(0xFF);
vWriteData(0xFF);
}

vWriteCMD(LCDPAGE+7);
vWriteCMD(LCDLINE);
for(ucCount=0;ucCount<62;ucCount++)
vWriteData(0x03);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       4025  2007-08-28 01:24  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\GameGraph.lst

     文件       5669  2007-08-28 01:24  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\GameGraph.obj

     文件        110  2007-08-28 01:23  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\GameGraph.__i

     文件         80  2007-08-26 22:53  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\include\GameGraph.h

     文件        203  2007-08-26 22:49  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\include\includes.h

     文件        106  2007-08-05 21:27  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\include\KeyProcess.h

     文件        103  2007-08-05 21:36  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\include\KeyScan.h

     文件       3095  2007-08-26 22:38  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\include\LCD12864.h

     文件       1068  2007-08-28 00:40  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\include\LCDShowMap.h

     文件       4615  2007-08-28 00:40  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\KeyProcess.lst

     文件       6106  2007-08-28 00:40  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\KeyProcess.obj

     文件        113  2007-08-28 00:40  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\KeyProcess.__i

     文件       7182  2007-08-28 00:29  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\KeyScan.lst

     文件       3050  2007-08-28 00:29  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\KeyScan.obj

     文件      32834  2007-08-28 01:24  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LatticeLCD

     文件       5579  2007-08-28 01:24  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LatticeLCD.hex

     文件        120  2007-08-28 01:24  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LatticeLCD.lnp

     文件      20090  2007-08-28 01:24  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LatticeLCD.M51

     文件       2554  2007-08-28 01:34  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LatticeLCD.Opt

     文件       2622  2007-08-28 01:34  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LatticeLCD.plg

     文件       2400  2007-08-26 22:38  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LatticeLCD.Uv2

     文件       2229  2007-08-28 00:28  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LatticeLCD_Opt.Bak

     文件       2348  2007-08-24 12:31  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LatticeLCD_Uv2.Bak

     文件      14676  2007-08-28 00:29  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LCD12864.lst

     文件      10523  2007-08-28 00:29  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LCD12864.obj

     文件       6097  2007-08-28 00:40  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LCDShoeMap.lst

     文件       2787  2007-08-28 00:40  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LCDShoeMap.obj

     文件        113  2007-08-28 00:40  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\LCDShoeMap.__i

     文件      12087  2007-08-28 00:41  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\main.lst

     文件       9108  2007-08-28 00:41  51单片机12864大液晶屏proteus仿真\LatticeLCD5\Keil\main.obj

............此处省略17个文件信息

评论

共有 条评论