• 大小: 9.44MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-06
  • 语言: 其他
  • 标签: proteus  

资源简介

proteus仿真实例,适合新手学习使用,多个例程,直接打开就行

资源截图

代码片段和文件信息

//EDM12864B DRIVE//
/**************************************
   PAGEADD为页地址起使
   TIERADD为行地址起使
   DIS_STARTADD为开始命令
   CTABLE为汉字字库数组
   ETABLE为英文字库数组
***************************************/
#include 
#define uchar unsigned char
#define uint unsigned int
#define High 1
#define Low 0
#define _nop {}
#define PAGEADD 0xb8
#define TIERADD 0x40
#define DIS_STARADD 0xc0
uint key_value;
sbit DI=P1^4;
sbit E=P1^2;
sbit CS1=P1^1;
sbit CS2=P1^0;
sbit RW=P1^3;
sbit cs=P1^7;
sbit sclk=P1^6;
sbit dout=P1^5;
sbit I2C_SCL = P3^7;
sbit I2C_SDA = P3^6;
//uchar ntable[]={614957601949624960635520062256
//63686149576017516361};//email:analog2006@hotmail.com
uchar data voltage_display[8];

/*****************************
          字符表 
 显示“Welcome Use“
******************************/
uchar code table1[]={
0x000x3e0x510x490x450x3e0x000x00//0(0)
0x000x000x420x7f0x400x000x000x00//1
0x000x420x610x510x490x460x000x00//2
0x000x210x410x450x4b0x310x000x00//3
0x000x180x140x120x7f0x100x000x00//4
0x000x270x450x450x450x390x000x00//5
0x000x3c0x4a0x490x490x300x000x00//6
0x000x010x010x790x050x030x000x00//7
0x000x360x490x490x490x360x000x00//8
0x000x060x490x490x290x1e0x000x00//9
0x000x000x000x000x000x000x000x00// (10)
0x000x000x000x470x000x000x000x00//!
0x000x230x130x080x640x620x000x00//%
0x000x360x490x550x220x500x000x00//&
0x000x140x080x3e0x080x140x000x00//*
0x000x080x080x3e0x080x080x000x00//+
0x000x080x080x080x080x080x000x00//-
0x000x000x600x600x000x000x000x00//.
0x000x200x100x080x040x020x000x00///
0x000x000x360x360x000x000x000x00//:(19)
0x000x140x140x140x140x140x000x00//=
0x000x020x010x510x090x060x000x00//?
0x000x320x490x790x410x3E0x000x00//@(22)
0x000x7e0x110x110x110x7f0x000x00//A
0x000x410x7f0x490x490x360x000x00//B
0x000x3e0x410x410x410x220x000x00//C
0x000x410x7f0x410x410x3e0x000x00//D
0x000x7f0x490x490x490x490x000x00//E
0x000x7f0x090x090x090x010x000x00//F
0x000x3e0x410x410x490x7a0x000x00//G(29)
0x000x7f0x080x080x080x7f0x000x00//H
0x000x000x410x7f0x410x000x000x00//I
0x200x400x410x3f0x010x010x000x00//J
0x000x7f0x080x140x220x410x000x00//K
0x000x7f0x400x400x400x400x000x00//L
0x000x7f0x020x0c0x020x7f0x000x00//M
0x000x7f0x060x080x300x7f0x000x00//N
0x000x3e0x410x410x410x3e0x000x00//O
0x000x7f0x090x090x090x060x000x00//P
0x000x3e0x410x510x210x5e0x000x00//Q(39)
0x000x7f0x090x190x290x460x000x00//R
0x000x260x490x490x490x320x000x00//S
0x000x010x010x7f0x010x010x000x00//T
0x000x3f0x400x400x400x3f0x000x00//U
0x000x1f0x200x410x200x1f0x000x00//V
0x000x7f0x200x800x200x7f0x000x00//W
0x000x630x140x080x140x630x000x00

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-12-20 17:23  PROTEUS实例\
     目录           0  2017-12-20 17:23  PROTEUS实例\128X64液晶显示\
     文件       10055  2007-07-17 08:59  PROTEUS实例\128X64液晶显示\126X64液晶多功能显示.ASM
     文件        1368  2007-07-17 08:59  PROTEUS实例\128X64液晶显示\126X64液晶多功能显示.HEX
     文件        5893  2007-07-04 08:14  PROTEUS实例\128X64液晶显示\126X64液晶显示.HEX
     文件       17502  2007-07-04 08:14  PROTEUS实例\128X64液晶显示\126X64液晶显示1.ASM
     文件        4586  2007-07-16 19:57  PROTEUS实例\128X64液晶显示\126X64液晶显示2.ASM
     文件         730  2007-07-16 19:58  PROTEUS实例\128X64液晶显示\126X64液晶显示2.HEX
     文件        2763  2007-07-17 09:00  PROTEUS实例\128X64液晶显示\UNtitleD.DSK
     文件        7855  2007-07-06 19:27  PROTEUS实例\128X64液晶显示\键盘与液晶.ASM
     目录           0  2017-12-20 17:23  PROTEUS实例\12位ad&ds1621&12864lcd\
     文件      119750  2006-12-11 11:07  PROTEUS实例\12位ad&ds1621&12864lcd\Last Loaded lcd.DBK
     文件       22043  2006-12-11 11:46  PROTEUS实例\12位ad&ds1621&12864lcd\LCD DRIVE.c
     文件      120460  2008-08-26 15:52  PROTEUS实例\12位ad&ds1621&12864lcd\lcd.DSN
     文件       13242  2006-12-11 11:02  PROTEUS实例\12位ad&ds1621&12864lcd\LCD.hex
     文件        1242  2008-08-26 16:19  PROTEUS实例\12位ad&ds1621&12864lcd\lcd.PWI
     目录           0  2017-12-20 17:23  PROTEUS实例\16_16(12)\
     目录           0  2017-12-20 17:23  PROTEUS实例\16_16(12)\16_16(12)\
     文件        4039  2008-05-18 16:07  PROTEUS实例\16_16(12)\16_16(12)\16_16(12)
     文件      189769  2008-05-18 16:14  PROTEUS实例\16_16(12)\16_16(12)\16_16(12).DSN
     文件        1032  2008-05-18 16:07  PROTEUS实例\16_16(12)\16_16(12)\16_16(12).hex
     文件        4116  2008-05-18 16:07  PROTEUS实例\16_16(12)\16_16(12)\16_16(12).M51
     文件        1257  2008-05-18 16:15  PROTEUS实例\16_16(12)\16_16(12)\16_16(12).Opt
     文件        2239  2008-05-18 16:15  PROTEUS实例\16_16(12)\16_16(12)\16_16(12).plg
     文件         768  2008-08-26 16:20  PROTEUS实例\16_16(12)\16_16(12)\16_16(12).PWI
     文件        2000  2008-05-17 10:03  PROTEUS实例\16_16(12)\16_16(12)\16_16(12).Uv2
     文件        1256  2008-05-18 14:45  PROTEUS实例\16_16(12)\16_16(12)\16_16(12)_Opt.Bak
     文件        1964  2008-05-17 09:06  PROTEUS实例\16_16(12)\16_16(12)\16_16(12)_Uv2.Bak
     文件      189769  2008-05-18 16:14  PROTEUS实例\16_16(12)\16_16(12)\Last Loaded 16_16(12).DBK
     文件      146021  2008-05-17 09:38  PROTEUS实例\16_16(12)\16_16(12)\Last Loaded temp.DBK
     文件      146021  2008-05-17 09:38  PROTEUS实例\16_16(12)\16_16(12)\temp.DSN
............此处省略1059个文件信息

评论

共有 条评论