• 大小: 0.91M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-08-27
  • 语言: 其他
  • 标签: 其他  

资源简介

原理图源代码Proteus仿真.zip

资源截图

代码片段和文件信息

/******************************************************
**作品:LCD12864俄罗斯方块设计                                                           
**申明:转载请标明作品来源 知识产权归作者本人所有!
** 这一讲的主要内容:  LCD12664液晶显示原理
** 功能描述:  对吴鉴鹰俄罗斯方块设计的显示
** 输 入: 
** 液晶:Proteus元件库—AMPIRE128X64(无字库)         
** 内容:LCD12864俄罗斯方块设计      
** 输 出: 
**         
** 全局变量:
** 调用模块: 
**
** 作 者:    吴鉴鹰
** 日 期:     14.05.16
**作者所属单位:鉴鹰电子工作室
**交流QQ群: 第一群: 332164870  第二群:194314772   联系QQ:1123942529 
**申明:转载请标明作品来源 知识产权归作者吴鉴鹰所有!

备注:有什么错误的地方,欢迎各大读者指正

O(∩_∩)O~
*******************************************************/
#include 
#include 
#include
#include
//#include “12864.h“
//#include “zifu.h“
#define uchar unsigned char
#define uint unsigned int    //宏义
#define delayNOP(); {_nop_();_nop_();_nop_();_nop_();};

uchar kdirection;
bit flag;
bit flag5=0;    //flag5是外部中断1的标志位 flag1是步进标志
uchar pdengji;               //定时次数 
bit flag1=0;
//systemtime realtime;
bit first=1;

sbit LCD_E_OUT=P2^0;
sbit LCD_RW_OUT=P2^1;
sbit LCD_RS_OUT=P2^2;
sbit LCD_CS2_OUT=P2^3;
sbit LCD_CS1_OUT=P2^4;

#define LCD_12864_DATA  P0

uchar code Num0[]={0x000xE00x100x080x080x100xE00x000x000x0F0x100x200x200x100x0F0x00};/*“0“0*/
uchar code Num1[]={0x000x100x100xF80x000x000x000x000x000x200x200x3F0x200x200x000x00};/*“1“0*/
uchar code Num2[]={0x000x700x080x080x080x880x700x000x000x300x280x240x220x210x300x00};/*“2“0*/
uchar code Num3[]={0x000x300x080x880x880x480x300x000x000x180x200x200x200x110x0E0x00};/*“3“0*/
uchar code Num4[]={0x000x000xC00x200x100xF80x000x000x000x070x040x240x240x3F0x240x00};/*“4“0*/
uchar code Num5[]={0x000xF80x080x880x880x080x080x000x000x190x210x200x200x110x0E0x00};/*“5“0*/
uchar code Num6[]={0x000xE00x100x880x880x180x000x000x000x0F0x110x200x200x110x0E0x00};/*“6“0*/
uchar code Num7[]={0x000x380x080x080xC80x380x080x000x000x000x000x3F0x000x000x000x00};/*“7“0*/
uchar code Num8[]={0x000x700x880x080x080x880x700x000x000x1C0x220x210x210x220x1C0x00};/*“8“0*/
uchar code Num9[]={0x000xE00x100x080x080x100xE00x000x000x000x310x220x220x110x0F0x00};/*“9“0*/

uchar code Game_Over[]=
{
0x000x200x440x080x200xE00x920x940x100x280xAE0x680x240x040x000x00
0x000x0C0x030x040x020x190x0C0x030x020x120x220x1F0x010x010x010x00/*“游“0*/
0x000x200xA00x900x100xF00x000x400x7F0xC00x200x240x880x000x000x00
0x100x080x040x020x010x020x140x100x080x050x060x090x100x200x380x00/*“戏“1*/
0x000x600x500xCC0x400x300x400x400x400xFE0x200x200x200x200x000x00
0x000x120x130x0A0x090x050x000x3A0x2A0x250x250x150x1D0x000x000x00/*“结“2*/
0x000x000x000x600xA80xA80xA80xFF0x940x540x700x000x000x000x000x00
0x100x100x080x080x040x020x010x7F0x020x040x080x080x100x100x100x00 /*“

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件     1179685  2014-05-21 16:55  吴鉴鹰俄罗斯方块的设计完整方案.pdf
     文件       99720  2014-05-21 16:36  吴鉴鹰俄罗斯方块设计Proteus仿真图.DSN
     文件       60393  2014-05-22 13:25  吴鉴鹰俄罗斯方块设计原理图.pdf
     文件       62318  2014-05-16 23:34  main.c

评论

共有 条评论