htujun
3 years ago
commit
558cd76593
34 changed files with 12086 additions and 0 deletions
Binary file not shown.
@ -0,0 +1,208 @@
@@ -0,0 +1,208 @@
|
||||
#include "IRIN.h" |
||||
#include "i2c.h" |
||||
|
||||
uint journey; |
||||
uint journey1; |
||||
extern uchar pwm_left; |
||||
unsigned int b; |
||||
unsigned int c; |
||||
extern uint time1; |
||||
extern uchar pwm_val_left; |
||||
unsigned int b2; |
||||
unsigned int c2; |
||||
|
||||
uint money=7; |
||||
uint sudu=0; |
||||
|
||||
uint count=0; //栅格是一圈20个
|
||||
|
||||
uchar ms=0; |
||||
uint speed=0; |
||||
uint r_s=0; |
||||
|
||||
bit state=0; |
||||
bit s0=0; |
||||
bit flas=0; |
||||
|
||||
uchar sec=0; |
||||
uchar sec1=0; |
||||
|
||||
/*******************************************************************************
|
||||
* 函 数 名 : delay |
||||
* 函数功能 : 延时函数,i=1时,大约延时10us |
||||
*******************************************************************************/ |
||||
void delay11(int i) |
||||
{ |
||||
while(i--);
|
||||
} |
||||
|
||||
void IRIN_Init(void) |
||||
{ |
||||
TMOD=0x01;//定时器1工作方式1
|
||||
TH0=0x3C; |
||||
TL0=0xb0; |
||||
ET0=1; |
||||
TH1=0XFc; |
||||
TL1=0X18; |
||||
ET1=1; |
||||
TR1=1; |
||||
TR0=1; |
||||
EA=1; |
||||
EX1=1; |
||||
IT1=1; |
||||
|
||||
} |
||||
|
||||
void display() |
||||
{ |
||||
if(state==0)
|
||||
{ |
||||
sudu=At24c02Read(10); |
||||
if(money>7) |
||||
{ |
||||
money=At24c02Read(5); |
||||
} |
||||
LcdSetCursor(0,0); |
||||
LcdShowStr(0,0,"Speed:"); |
||||
Lcd1602_Write_Data(0x30+sudu/100%10); |
||||
Lcd1602_Write_Data(0x30+sudu/10%10); |
||||
Lcd1602_Write_Data(0x30+sudu%10); |
||||
LcdShowStr(10,0,"KM/h"); |
||||
|
||||
LcdShowStr(0,1,"L:"); |
||||
Lcd1602_Write_Data(journey/10000%10+0x30); |
||||
Lcd1602_Write_Data(journey/1000%10+0x30); |
||||
Lcd1602_Write_Data(journey/100%10+0x30); |
||||
Lcd1602_Write_Data(journey/10%10+0x30); |
||||
Lcd1602_Write_Data(journey%10+0x30); |
||||
LcdShowStr(7,1,"M"); |
||||
|
||||
if(journey>1000) |
||||
{ |
||||
money=(journey-1000)*0.002+7; |
||||
At24c02Write(5,money); |
||||
} |
||||
money=money*10; |
||||
LcdShowStr(9,1,"Q:"); |
||||
Lcd1602_Write_Data(money/1000%10+0x30); |
||||
Lcd1602_Write_Data(money/100%10+0x30); |
||||
Lcd1602_Write_Data(money/10%10+0x30); |
||||
LcdShowStr(14,1,"."); |
||||
Lcd1602_Write_Data(money%10+0x30); |
||||
|
||||
money=money/10; |
||||
|
||||
|
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
void keypros() |
||||
{ |
||||
if(k2==0) |
||||
{ |
||||
delay11(1000); //消抖处理
|
||||
if(k2==0) |
||||
{ |
||||
sudu=At24c02Read(10); //读取EEPROM地址1内的数据
|
||||
|
||||
b2=At24c02Read(1); |
||||
c2=At24c02Read(8); |
||||
journey=(b2<<8) | c2; |
||||
|
||||
money=At24c02Read(5); |
||||
|
||||
} |
||||
while(!k2); |
||||
} |
||||
|
||||
if(k1==0) |
||||
{ |
||||
delay11(1000); //消抖处理
|
||||
if(k1==0) |
||||
{ |
||||
flas=1; |
||||
|
||||
} |
||||
while(!k1); |
||||
} |
||||
if(k4==0) |
||||
{ |
||||
delay11(1000); //消抖处理
|
||||
if(k4==0) |
||||
{ |
||||
if(pwm_left>=20) |
||||
{ |
||||
pwm_left=1; |
||||
} |
||||
else |
||||
{
|
||||
pwm_left++; |
||||
} |
||||
} |
||||
while(!k4); |
||||
} |
||||
|
||||
} |
||||
|
||||
void time0() interrupt 1 //定时器 0
|
||||
{ |
||||
TH0=0x3C; |
||||
TL0=0xb0; //50ms定时
|
||||
ms++; //变量50ms加一
|
||||
if(ms%5==0) s0=~s0; |
||||
|
||||
|
||||
if(ms%10==0) //500ms定时
|
||||
{ |
||||
|
||||
if(sec!=0) sec--; |
||||
if(sec1!=0) sec1--; |
||||
ms=0; //清零变量
|
||||
EX1=0; //关闭外部中断,保证变量在计算的时候不会增加
|
||||
r_s=count; //因为是500ms检测一次转动数据,所以要想一秒转动的圈数是 speed=count*2 ,但是光栅是一圈20格,所以还要除以20;
|
||||
//综合一下,一秒转动的圈数就是 speed=count*2/20 ==》 speed=counr/10;
|
||||
count=0; //清零变量
|
||||
EX1=1; //打开外部中断
|
||||
speed=speed*0.5+(r_s*6)*0.5; // 这里r_s是一秒走的圈数,然后乘以60得到60秒走的圈数,单位变成了 r/min; 总方式 speed=count/10*60; ==>> speed=count*6;
|
||||
|
||||
if(flas==0) |
||||
{ |
||||
sudu=(0.15*speed); |
||||
At24c02Write(10,sudu); |
||||
|
||||
journey=journey+(r_s*2.5/20); |
||||
journey1=journey; |
||||
c = journey & 0x00FF; |
||||
At24c02Write(8,c); |
||||
|
||||
delay11(1000);
|
||||
b=journey1>>8; |
||||
At24c02Write(1,b); |
||||
} |
||||
else |
||||
{ |
||||
journey=0; |
||||
money=7;
|
||||
At24c02Write(1,journey); |
||||
At24c02Write(8,journey); |
||||
At24c02Write(5,money); |
||||
flas=0; |
||||
} |
||||
} |
||||
} |
||||
|
||||
void int1() interrupt 2 //外部中断 1
|
||||
{ |
||||
|
||||
count++; //中断每触发一次,变量加一
|
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
#ifndef _IRIN_H |
||||
#define _IRIN_H |
||||
|
||||
#include "reg51.h" |
||||
#include "lcd.h" |
||||
#include "pwm.h" |
||||
|
||||
sbit k1=P3^5; |
||||
sbit k2=P3^4; |
||||
sbit k3=P3^3; |
||||
sbit k4=P3^2; //¶¨Òå°´¼ü¶Ë¿Ú
|
||||
|
||||
|
||||
void IRIN_Init(void); |
||||
void display(); |
||||
|
||||
|
||||
void keypros(); |
||||
|
||||
|
||||
|
||||
|
||||
#endif |
||||
|
||||
|
Binary file not shown.
@ -0,0 +1,152 @@
@@ -0,0 +1,152 @@
|
||||
#include"i2c.h" |
||||
|
||||
/*******************************************************************************
|
||||
* 函数名 : Delay10us() |
||||
* 函数功能 : 延时10us |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
*******************************************************************************/ |
||||
|
||||
void Delay10us() |
||||
{ |
||||
unsigned char a,b; |
||||
for(b=1;b>0;b--) |
||||
for(a=2;a>0;a--); |
||||
|
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : I2cStart() |
||||
* 函数功能 : 起始信号:在SCL时钟信号在高电平期间SDA信号产生一个下降沿 |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
* 备注 : 起始之后SDA和SCL都为0 |
||||
*******************************************************************************/ |
||||
|
||||
void I2cStart() |
||||
{ |
||||
SDA=1; |
||||
Delay10us(); |
||||
SCL=1; |
||||
Delay10us();//建立时间是SDA保持时间>4.7us
|
||||
SDA=0; |
||||
Delay10us();//保持时间是>4us
|
||||
SCL=0;
|
||||
Delay10us();
|
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : I2cStop() |
||||
* 函数功能 : 终止信号:在SCL时钟信号高电平期间SDA信号产生一个上升沿 |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
* 备注 : 结束之后保持SDA和SCL都为1;表示总线空闲 |
||||
*******************************************************************************/ |
||||
|
||||
void I2cStop() |
||||
{ |
||||
SDA=0; |
||||
Delay10us(); |
||||
SCL=1; |
||||
Delay10us();//建立时间大于4.7us
|
||||
SDA=1; |
||||
Delay10us();
|
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : I2cSendByte(unsigned char dat) |
||||
* 函数功能 : 通过I2C发送一个字节。在SCL时钟信号高电平期间,保持发送信号SDA保持稳定 |
||||
* 输入 : num |
||||
* 输出 : 0或1。发送成功返回1,发送失败返回0 |
||||
* 备注 : 发送完一个字节SCL=0,SDA=1 |
||||
*******************************************************************************/ |
||||
|
||||
unsigned char I2cSendByte(unsigned char dat) |
||||
{ |
||||
unsigned char a=0,b=0;//最大255,一个机器周期为1us,最大延时255us。
|
||||
for(a=0;a<8;a++)//要发送8位,从最高位开始
|
||||
{ |
||||
SDA=dat>>7; //起始信号之后SCL=0,所以可以直接改变SDA信号
|
||||
dat=dat<<1; |
||||
Delay10us(); |
||||
SCL=1; |
||||
Delay10us();//建立时间>4.7us
|
||||
SCL=0; |
||||
Delay10us();//时间大于4us
|
||||
} |
||||
SDA=1; |
||||
Delay10us(); |
||||
SCL=1; |
||||
while(SDA)//等待应答,也就是等待从设备把SDA拉低
|
||||
{ |
||||
b++; |
||||
if(b>200) //如果超过2000us没有应答发送失败,或者为非应答,表示接收结束
|
||||
{ |
||||
SCL=0; |
||||
Delay10us(); |
||||
return 0; |
||||
} |
||||
} |
||||
SCL=0; |
||||
Delay10us(); |
||||
return 1;
|
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : I2cReadByte() |
||||
* 函数功能 : 使用I2c读取一个字节 |
||||
* 输入 : 无 |
||||
* 输出 : dat |
||||
* 备注 : 接收完一个字节SCL=0,SDA=1. |
||||
*******************************************************************************/ |
||||
|
||||
unsigned char I2cReadByte() |
||||
{ |
||||
unsigned char a=0,dat=0; |
||||
SDA=1; //起始和发送一个字节之后SCL都是0
|
||||
Delay10us(); |
||||
for(a=0;a<8;a++)//接收8个字节
|
||||
{ |
||||
SCL=1; |
||||
Delay10us(); |
||||
dat<<=1; |
||||
dat|=SDA; |
||||
Delay10us(); |
||||
SCL=0; |
||||
Delay10us(); |
||||
} |
||||
return dat;
|
||||
} |
||||
|
||||
|
||||
/*******************************************************************************
|
||||
* 函数名 : void At24c02Write(unsigned char addr,unsigned char dat) |
||||
* 函数功能 : 往24c02的一个地址写入一个数据 |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
*******************************************************************************/ |
||||
|
||||
void At24c02Write(unsigned char addr,unsigned char dat) |
||||
{ |
||||
I2cStart(); |
||||
I2cSendByte(0xa0);//发送写器件地址
|
||||
I2cSendByte(addr);//发送要写入内存地址
|
||||
I2cSendByte(dat); //发送数据
|
||||
I2cStop(); |
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : unsigned char At24c02Read(unsigned char addr) |
||||
* 函数功能 : 读取24c02的一个地址的一个数据 |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
*******************************************************************************/ |
||||
|
||||
unsigned char At24c02Read(unsigned char addr) |
||||
{ |
||||
unsigned char num; |
||||
I2cStart(); |
||||
I2cSendByte(0xa0); //发送写器件地址
|
||||
I2cSendByte(addr); //发送要读取的地址
|
||||
I2cStart(); |
||||
I2cSendByte(0xa1); //发送读器件地址
|
||||
num=I2cReadByte(); //读取数据
|
||||
I2cStop(); |
||||
return num;
|
||||
} |
||||
|
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
#ifndef __I2C_H_ |
||||
#define __I2C_H_ |
||||
|
||||
#include <reg51.h> |
||||
|
||||
sbit SCL=P0^1; |
||||
sbit SDA=P0^0; |
||||
|
||||
void I2cStart(); |
||||
void I2cStop(); |
||||
unsigned char I2cSendByte(unsigned char dat); |
||||
unsigned char I2cReadByte(); |
||||
void At24c02Write(unsigned char addr,unsigned char dat); |
||||
unsigned char At24c02Read(unsigned char addr); |
||||
|
||||
#endif |
Binary file not shown.
@ -0,0 +1,76 @@
@@ -0,0 +1,76 @@
|
||||
#include "lcd.h" |
||||
|
||||
|
||||
void Read_Busy() //忙检测函数,判断bit7是0,允许执行;1禁止
|
||||
{ |
||||
unsigned char sta; //
|
||||
LCD1602_DB = 0xff; |
||||
LCD1602_RS = 0; |
||||
LCD1602_RW = 1; |
||||
do |
||||
{ |
||||
LCD1602_EN = 1; |
||||
sta = LCD1602_DB; |
||||
LCD1602_EN = 0; //使能,用完就拉低,释放总线
|
||||
}while(sta & 0x80); |
||||
} |
||||
|
||||
void Lcd1602_Write_Cmd(unsigned char cmd) //写命令
|
||||
{ |
||||
Read_Busy(); |
||||
LCD1602_RS = 0; |
||||
LCD1602_RW = 0; |
||||
LCD1602_DB = cmd; |
||||
LCD1602_EN = 1; |
||||
LCD1602_EN = 0;
|
||||
} |
||||
|
||||
void Lcd1602_Write_Data(unsigned char dat) //写数据
|
||||
{ |
||||
Read_Busy(); |
||||
LCD1602_RS = 1; |
||||
LCD1602_RW = 0; |
||||
LCD1602_DB = dat; |
||||
LCD1602_EN = 1; |
||||
LCD1602_EN = 0; |
||||
} |
||||
|
||||
void LcdSetCursor(unsigned char x,unsigned char y) //坐标显示
|
||||
{ |
||||
unsigned char addr; |
||||
if(y == 0) |
||||
addr = 0x00 + x; |
||||
else |
||||
addr = 0x40 + x; |
||||
|
||||
Lcd1602_Write_Cmd(addr|0x80); |
||||
} |
||||
|
||||
//按指定位置显示一个字符
|
||||
void DisplayOneChar(unsigned char X, unsigned char Y, unsigned char DData) |
||||
{ |
||||
Y &= 0x1; |
||||
X &= 0xF; //限制X不能大于15,Y不能大于1
|
||||
if (Y) X |= 0x40; //当要显示第二行时地址码+0x40;
|
||||
X |= 0x80; //算出指令码
|
||||
Lcd1602_Write_Cmd(X); //发命令字
|
||||
Lcd1602_Write_Data(DData); //发数据
|
||||
} |
||||
|
||||
|
||||
void LcdShowStr(unsigned char x,unsigned char y,unsigned char *str) //显示字符串
|
||||
{ |
||||
LcdSetCursor(x,y); //当前字符的坐标
|
||||
while(*str != '\0') |
||||
{ |
||||
Lcd1602_Write_Data(*str++); |
||||
} |
||||
} |
||||
|
||||
void InitLcd1602() //1602初始化
|
||||
{ |
||||
Lcd1602_Write_Cmd(0x38); //打开,5*8,8位数据
|
||||
Lcd1602_Write_Cmd(0x0c); |
||||
Lcd1602_Write_Cmd(0x06); |
||||
Lcd1602_Write_Cmd(0x01); //清屏
|
||||
} |
@ -0,0 +1,53 @@
@@ -0,0 +1,53 @@
|
||||
#ifndef __LCD_H_ |
||||
#define __LCD_H_ |
||||
/**********************************
|
||||
当使用的是4位数据传输的时候定义, |
||||
使用8位取消这个定义 |
||||
**********************************/ |
||||
//#define LCD1602_4PINS
|
||||
|
||||
/**********************************
|
||||
包含头文件 |
||||
**********************************/ |
||||
#include <reg51.h> |
||||
|
||||
//---重定义关键词---//
|
||||
#ifndef uchar |
||||
#define uchar unsigned char |
||||
#endif |
||||
|
||||
#ifndef uint |
||||
#define uint unsigned int |
||||
#endif |
||||
|
||||
/**********************************
|
||||
PIN口定义 |
||||
**********************************/ |
||||
//#define LCD1602_DB P0 //data bus 数据总线
|
||||
//sbit LCD1602_RS = P2^6;
|
||||
//sbit LCD1602_RW = P2^5;
|
||||
//sbit LCD1602_EN = P2^7;
|
||||
|
||||
|
||||
#define LCD1602_DB P2 //data bus 数据总线
|
||||
|
||||
sbit LCD1602_RS=P1^6; |
||||
sbit LCD1602_RW=P1^5; |
||||
sbit LCD1602_EN=P1^4; |
||||
|
||||
/**********************************
|
||||
函数声明 |
||||
**********************************/ |
||||
/*在51单片机12MHZ时钟下的延时函数*/ |
||||
void Lcd1602_Delay1ms(uint c); //误差 0us
|
||||
|
||||
void Read_Busy(); //忙检测函数,判断bit7是0,允许执行;1禁止
|
||||
void Lcd1602_Write_Cmd(unsigned char cmd); //写命令
|
||||
void Lcd1602_Write_Data(unsigned char dat); //写数据
|
||||
void LcdSetCursor(unsigned char x,unsigned char y); //坐标显示
|
||||
void LcdShowStr(unsigned char x,unsigned char y,unsigned char *str); //显示字符串
|
||||
void InitLcd1602(); //1602初始化
|
||||
void DisplayOneChar(unsigned char X, unsigned char Y, unsigned char DData); |
||||
|
||||
|
||||
#endif |
Binary file not shown.
@ -0,0 +1,53 @@
@@ -0,0 +1,53 @@
|
||||
#include <reg51.h> |
||||
#include <intrins.h> |
||||
#include "lcd.h" |
||||
#include "pwm.h" |
||||
#include "i2c.h" |
||||
#include "IRIN.h" |
||||
|
||||
unsigned char PuZh[]=" Pechin Science "; |
||||
extern uint journey; |
||||
extern uint money; |
||||
extern uchar sudu; |
||||
unsigned int b12; |
||||
unsigned int c12; |
||||
|
||||
|
||||
|
||||
unsigned int b123; |
||||
unsigned int c123; |
||||
extern unsigned char pwm_left; |
||||
unsigned char code ASCII[15] = {'0','1','2','3','4','5','6','7','8','9','.','-','M'}; |
||||
|
||||
void delayms(unsigned int ms) |
||||
{ |
||||
unsigned char i=100,j; |
||||
for(;ms;ms--) |
||||
{ |
||||
while(--i) |
||||
{ |
||||
j=10; |
||||
while(--j); |
||||
} |
||||
} |
||||
} |
||||
|
||||
void main(void) |
||||
{ |
||||
|
||||
InitLcd1602(); |
||||
IRIN_Init(); |
||||
pwm_left=10; |
||||
b12=At24c02Read(1); |
||||
c12=At24c02Read(8); |
||||
|
||||
money=At24c02Read(5); |
||||
journey = (b12<<8)|c12; |
||||
while(1) |
||||
{ |
||||
run(); |
||||
display(); |
||||
keypros(); |
||||
}
|
||||
|
||||
} |
Binary file not shown.
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
<html> |
||||
<body> |
||||
<pre> |
||||
<h1>礦ision Build Log</h1> |
||||
<h2>Tool Versions:</h2> |
||||
IDE-Version: μVision V5.25.2.0 |
||||
Copyright (C) 2018 ARM Ltd and ARM Germany GmbH. All rights reserved. |
||||
License Information: sasasa QY, asas, LIC=14RDY-I2Q34-B1DP0-B3MQL-18VH6-7EFQD |
||||
|
||||
Tool Versions: |
||||
Toolchain: PK51 Prof. Developers Kit Version: 9.56.0.0 |
||||
Toolchain Path: D:\Keil_v5\C51\BIN |
||||
C Compiler: C51.exe V9.56.0.0 |
||||
Assembler: A51.exe V8.2.5.0 |
||||
Linker/Locator: BL51.exe V6.22 |
||||
Library Manager: LIB51.exe V4.30.1.0 |
||||
Hex Converter: OH51.exe V2.7.0.0 |
||||
CPU DLL: S8051.DLL V3.106.0.0 |
||||
Dialog DLL: DP51.DLL V2.63.0.0 |
||||
<h2>Project:</h2> |
||||
E:\项目\兼职项目\20220406-智能健身直行车\pro.uvproj |
||||
Project File Date: 05/31/2019 |
||||
|
||||
<h2>Output:</h2> |
||||
Build target 'Target 1' |
||||
compiling main.c... |
||||
compiling lcd.c... |
||||
compiling pwm.c... |
||||
compiling i2c.c... |
||||
compiling IRIN.c... |
||||
linking... |
||||
Program Size: data=69.5 xdata=0 code=2902 |
||||
creating hex file from "pro"... |
||||
"pro" - 0 Error(s), 0 Warning(s). |
||||
Build Time Elapsed: 00:00:02 |
||||
</pre> |
||||
</body> |
||||
</html> |
@ -0,0 +1,214 @@
@@ -0,0 +1,214 @@
|
||||
:0F0AE200303132333435363738392E2D4D000050 |
||||
:1008530011212050656368696E20536369656E6377 |
||||
:030863006520000D |
||||
:100A41007C64EF4E60131CEC60087D0A1DED60F6BE |
||||
:090A510080FAEF1F70EC1E80E931 |
||||
:010A5A002279 |
||||
:1008E200120A8A1209EA750B0A7F0112096C753223 |
||||
:1008F200008F337F0812096C7534008F357F051223 |
||||
:10090200096C7542008F43E5334534F53AE535F518 |
||||
:0C0912003B120AF11204091207EC80F5F8 |
||||
:100A9E0075A0FFC296D295D294AFA0C294EF20E774 |
||||
:010AAE00F651 |
||||
:010AAF002224 |
||||
:100AC200AE07120A9EC296C2958EA0D294C29422FA |
||||
:100AD200AE07120A9ED296C2958EA0D294C29422DA |
||||
:100AB000ED7004AC078004EF2440FCEC4480FF029E |
||||
:020AC0000AC268 |
||||
:100A0800AE07AC0353050153060FED6003430640E0 |
||||
:0D0A1800430680AF06120AC2AF04020AD2E4 |
||||
:10091E008B0F8A108911120AB0AB0FAA10A91112EF |
||||
:10092E00037B60130511E5117002051014F9120313 |
||||
:08093E007BFF120AD280E222C5 |
||||
:100A8A007F38120AC27F0C120AC27F06120AC27F7C |
||||
:040A9A0001020AC289 |
||||
:10086600010800010D00010E00010C00010B00C182 |
||||
:0708760083C18402090000A8 |
||||
:10098E00E4FDFCC3ED9FEC9E5015E4FBFA0BBB009F |
||||
:0F099E00010ABA07F8BBD0F50DBD00010C80E4CB |
||||
:0109AD002227 |
||||
:0F0AF100750D03850B0CC286D287D284C2852275 |
||||
:0F0B0000750D03750C04D286C287C284D285227C |
||||
:0B0B4800E4F50D750C04D284C2852278 |
||||
:0B0B5300E4F50C750D04C286D2872269 |
||||
:1009AE00300418E508D3950D5004D2B58002C2B5B7 |
||||
:0E09BE00E508C394144006E4F50822C2B522F1 |
||||
:1009CC00300318E50ED3950C5004D2B48002C2B497 |
||||
:0E09DC00E50EC394144006E4F50E22C2B422C8 |
||||
:03001B00020A25B1 |
||||
:100A2500C0E0C0D0758DFC758B18050AE50A70020B |
||||
:0C0A35000509050E1209CCD0D0D0E0322B |
||||
:050B2D00120B32D28121 |
||||
:080B32007F017E02DEFEDFFA06 |
||||
:010B3A002298 |
||||
:0F0B0F00D280120B2DC280120B32C281020B3228 |
||||
:0A0B5E00C280120B2DD280020B3270 |
||||
:0208A100AD07A1 |
||||
:1008A300E4FBFAEDC4131313540124FF9280ED25E6 |
||||
:1008B300E0FD120B2DC281120B320BBB08E5D28077 |
||||
:1008C300120B32D28130800F0AEAD394C840F6C2A9 |
||||
:0E08D30081120B327F0022C281120B327F0194 |
||||
:0108E10022F4 |
||||
:10094600E4FDFCD280120B32D281120B32EC25E090 |
||||
:10095600FCA280E4334204120B32C281120B320D28 |
||||
:05096600BD08E5AF042F |
||||
:01096B002269 |
||||
:100A5B00AC05A907120B0F7FA01208A1AF0112085A |
||||
:090A6B00A1AF041208A1020B5E08 |
||||
:02096C00AC07D6 |
||||
:10096E00120B0F7FA01208A1AF041208A1120B0FD9 |
||||
:0F097E007FA11208A1120946AD07120B5EAF054B |
||||
:01098D002247 |
||||
:100A740053706565643A004B4D2F68004C3A004D45 |
||||
:060A840000513A002E00B3 |
||||
:10087D00024200070249000002440000014D00023F |
||||
:10088D003C0000024B0000C101C100C10201460045 |
||||
:03089D0001520005 |
||||
:040B1E007FE87E03EB |
||||
:0B0B2200EF1FAC0670011E4C70F622A5 |
||||
:1009EA00758901758C3C758AB0D2A9758DFC758B99 |
||||
:0E09FA0018D2ABD28ED28CD2AFD2AAD28A2221 |
||||
:100409003001030205F27F0A12096C7549008F4A0F |
||||
:10041900D3E5439407E5429400400A7F0512096C2D |
||||
:100429007542008F43E4FDFF120AB07BFF7A0A7917 |
||||
:1004390074E4FDFF12091EAE49AF4A7C007D6412C7 |
||||
:1004490003A67C007D0A1203A6ED2430FF120AD20E |
||||
:10045900AE49AF4A7C007D0A1203A67C007D0A12D0 |
||||
:1004690003A6ED2430FF120AD2AE49AF4A7C007DC3 |
||||
:100479000A1203A6ED2430FF120AD27BFF7A0A7909 |
||||
:100489007BE4FD7F0A12091E7BFF7A0A79807D01D0 |
||||
:10049900E4FF12091EAE3AAF3B7C277D101203A67A |
||||
:1004A9007C007D0A1203A6ED2430FF120AD2AE3A6F |
||||
:1004B900AF3B7C037DE81203A67C007D0A1203A6EC |
||||
:1004C900ED2430FF120AD2AE3AAF3B7C007D6412B4 |
||||
:1004D90003A67C007D0A1203A6ED2430FF120AD27E |
||||
:1004E900AE3AAF3B7C007D0A1203A67C007D0A125E |
||||
:1004F90003A6ED2430FF120AD2AE3AAF3B7C007D51 |
||||
:100509000A1203A6ED2430FF120AD27BFF7A0A7978 |
||||
:10051900837D017F0712091ED3E53B94E8E53A94F0 |
||||
:10052900034031E53B2418FDE53A34FCFCE41202B2 |
||||
:10053900C17B6F7A127903783B120116E4FBFA79D1 |
||||
:10054900E078401200251202FA8E428F43AD437FB4 |
||||
:1005590005120A5BAE42AF437C007D0A1203948EFA |
||||
:10056900428F437BFF7A0A79857D017F0912091E33 |
||||
:10057900AE42AF437C037DE81203A67C007D0A12DC |
||||
:1005890003A6ED2430FF120AD2AE42AF437C007DB0 |
||||
:10059900641203A67C007D0A1203A6ED2430FF1223 |
||||
:1005A9000AD2AE42AF437C007D0A1203A67C007DCD |
||||
:1005B9000A1203A6ED2430FF120AD27BFF7A0A79C8 |
||||
:1005C900887D017F0E12091EAE42AF437C007D0A71 |
||||
:1005D9001203A6ED2430FF120AD2AE42AF437C00CB |
||||
:0A05E9007D0A1203A68E428F432202 |
||||
:1007EC0020B43B120B1E20B4327F0A12096C7549DF |
||||
:1007FC00008F4A7F0112096C753E008F3F7F0812F3 |
||||
:10080C00096C7540008F41E53F4540F53AE541F5EF |
||||
:10081C003B7F0512096C7542008F4330B4FD20B547 |
||||
:10082C000B120B1E20B502D20230B5FD20B21712EE |
||||
:10083C000B1E20B20EE50BC394144005750B018002 |
||||
:07084C0002050B30B2FD2292 |
||||
:03000B000205F3F8 |
||||
:1005F300C0E0C0F0C083C082C0D075D000C000C0CE |
||||
:1006030001C002C003C004C005C006C007758C3C0E |
||||
:10061300758AB0054DE54D75F00584E5F07002B2BD |
||||
:1006230000E54D75F00A84E5F06003020745E546F1 |
||||
:1006330060021546E55260021552754D00C2AA8547 |
||||
:10064300444B85454C754400754500D2AAAE4BAF6B |
||||
:100653004C7C007D06120394AC06AD07E41202C184 |
||||
:10066300E4FBFAF9783F120116C004C005C006C0C6 |
||||
:1006730007AC3CAD3DE41202C1E4FBFAF9783F124A |
||||
:100683000116D003D002D001D0001200251202FAC5 |
||||
:100693008E3C8F3D300203020722AC3CAD3DE41299 |
||||
:1006A30002C17B9A7A997919783E1201161202FADD |
||||
:1006B3008E498F4AAD4A7F0A120A5BAC4BAD4CE4BC |
||||
:1006C3001202C1E4FBFA79207840120116E4FBFA26 |
||||
:1006D30079A0784112021FC004C005C006C007AC50 |
||||
:1006E3003AAD3BE41202C1D003D002D001D00012D4 |
||||
:1006F30000251202FA8E3A8F3B853A47853B4875AF |
||||
:100703005000853B51AD517F08120A5B120B1EE569 |
||||
:1007130047F54F754E00AD4F7F01120A5B8023757D |
||||
:100723003A00753B00754200754307AD3B7F0112EC |
||||
:100733000A5BAD3B7F08120A5BAD437F05120A5B80 |
||||
:10074300C202D007D006D005D004D003D002D00116 |
||||
:0D075300D000D0D0D082D083D0F0D0E032E2 |
||||
:03001300020B3BA2 |
||||
:0D0B3B00C0E00545E54570020544D0E032FC |
||||
:10001E00020366E86480F8E933E83360110460F0A7 |
||||
:10002E00ED33EC337009E8FCE9FDEAFEEBFF220448 |
||||
:10003E0060DED3EB9FEA9EE99DE8C2E78CF0C2F743 |
||||
:10004E0095F0400CE8CCF8E9CDF9EACEFAEBCFFB0F |
||||
:10005E0012033185D0F05804700320D5B3E8047034 |
||||
:10006E00075002B2D502037092D5EC0460F7E4CCCF |
||||
:10007E00C0E0C398F8603B94186008400DD0E0FBD8 |
||||
:10008E00020348E4FBFAC9FC8028E830E406E4C920 |
||||
:10009E00FBE4CAFCE830E305E4C9CACBFCE854072C |
||||
:1000AE006010F8C3E913F9EA13FAEB13FBEC13FC37 |
||||
:1000BE00D8F130F52FC3E49CFCEF9BFFEE9AFEEDDA |
||||
:1000CE0099FDD0E0FBEF4E4D4C701222DB03020384 |
||||
:1000DE006DEC2CFCEF33FFEE33FEED33FDED30E730 |
||||
:1000EE00EB020348EF2BFFEE3AFEED39FDD0E0FBBD |
||||
:1000FE0050130BBB0003020370ED13FDEE13FEEF66 |
||||
:08010E0013FFEC13FC0203488F |
||||
:10011600EC4D6011E8497017ED33EC3304600DE4E3 |
||||
:10012600FCFFFEFD22E933E8330470F80203661291 |
||||
:10013600033158046009E4CC248150062850090292 |
||||
:10014600037028400302036DC0E0EB4A7044B98097 |
||||
:1001560006D0E0FB02035CEF4E701CBD8008EBFF8F |
||||
:10016600EAFEE9FD80EBE98DF0A4FEE5F00201FF71 |
||||
:10017600E9CDF9EAFEEBFFEF89F0A4FCE5F0CE89C4 |
||||
:10018600F0A42EFFE435F0CD89F0A42DFEE435F081 |
||||
:100196008067EF4E7005BD80D780C3EF8BF0A4ACAF |
||||
:1001A600F0EE8BF0A42CFCE435F0F8EF8AF0A42CEA |
||||
:1001B600E5F038FCE433CB8DF0A42CFCE5F03BF8FD |
||||
:1001C600EE8AF0A42CFCE5F038F8E433CF89F0A4ED |
||||
:1001D6002CFCE5F038CF3400CE89F0A42FFFE5F0F3 |
||||
:1001E6003EFEE433C98DF0A42EFEE5F039CD8AF04B |
||||
:1001F600A42FFFE5F03EFEE43DFD33D0E0FB5007C3 |
||||
:100206000BBB000F020370EC2CFCEF33FFEE33FE4A |
||||
:06021600ED33FD02034878 |
||||
:10021C00020370EC5D046005E85904700302036688 |
||||
:10022C00120331580460F6EC4860F2EC7004FDFEE9 |
||||
:10023C00FF22C860DB2481C85009C39860025006B5 |
||||
:10024C0002036D9850CAF582E9294B4A7005AB82BE |
||||
:10025C0002035C75F0007C1A7880C3EF9BEE9AED7C |
||||
:10026C0099400DC3EF9BFFEE9AFEED99FDE842F02D |
||||
:10027C00DC23ACF0D0E0FFD0E0FED0E0FDAB822080 |
||||
:10028C00E7101BEB60BAEC2CFCEF33FFEE33FEED0A |
||||
:10029C0033FD020348E803F830E705C0F075F000C1 |
||||
:1002AC00EF2FFFEE33FEED33FD40B830E7C280AAEE |
||||
:1002BC0075F020800E75F010800575F0087D007EBD |
||||
:1002CC00007F003392D530D5031203FBEC33401082 |
||||
:1002DC00EF33FFEE33FEED33FDEC33FCD5F0ED22C6 |
||||
:0E02EC00E5F0247EA2D513CC92E7CDCEFF2202 |
||||
:1002FA00EDD2E7CD33EC3392D524814006E4FFFEFC |
||||
:10030A00FDFC22FCE4CFCECDCC24E0501174FF805A |
||||
:10031A00EDC3CC13CCCD13CDCE13CECF13CF0470F7 |
||||
:07032A00F030D5DE0203FBF9 |
||||
:10033100E9D2E7C933E833F892D5EDD2E7CD33EC12 |
||||
:0703410033FC5002B2D5228B |
||||
:10034800EC30E7100FBF000C0EBE00080DBD000416 |
||||
:100358000BEB6014A2D5EB13FCED92E7FD2274FFC2 |
||||
:10036800FCFDFEFF22E480F8A2D574FF13FC7D801B |
||||
:03037800E480EF2F |
||||
:0300000002076094 |
||||
:0C076000787FE4F6D8FD7581520207A7EF |
||||
:10037B00BB010689828A83E0225002E722BBFE0280 |
||||
:09038B00E32289828A83E49322B3 |
||||
:10039400EF8DF0A4A8F0CF8CF0A428CE8DF0A42E7D |
||||
:0203A400FE2237 |
||||
:1003A600BC000BBE0029EF8DF084FFADF022E4CC3B |
||||
:1003B600F875F008EF2FFFEE33FEEC33FCEE9DEC04 |
||||
:1003C600984005FCEE9DFE0FD5F0E9E4CEFD22ED4A |
||||
:1003D600F8F5F0EE8420D21CFEADF075F008EF2F94 |
||||
:1003E600FFED33FD4007985006D5F0F222C398FD85 |
||||
:0503F6000FD5F0EA2222 |
||||
:0E03FB00C3E49FFFE49EFEE49DFDE49CFC2213 |
||||
:10076C000208E2E493A3F8E493A34003F68001F2B9 |
||||
:10077C0008DFF48029E493A3F85407240CC8C3338E |
||||
:10078C00C4540F4420C8834004F456800146F6DF5D |
||||
:10079C00E4800B0102040810204080900853E47E92 |
||||
:1007AC00019360BCA3FF543F30E509541FFEE49352 |
||||
:1007BC00A360010ECF54C025E060A840B8E493A319 |
||||
:1007CC00FAE493A3F8E493A3C8C582C8CAC583CA44 |
||||
:1007DC00F0A3C8C582C8CAC583CADFE9DEE780BEFC |
||||
:0108A0000057 |
||||
:00000001FF |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
"main.obj", |
||||
"lcd.obj", |
||||
"pwm.obj", |
||||
"i2c.obj", |
||||
"IRIN.obj" |
||||
TO "pro" |
||||
DISABLEWARNING (15,16) |
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
<html> |
||||
<body> |
||||
<pre> |
||||
<h1>礦ision Build Log</h1> |
||||
<h2>Project:</h2> |
||||
E:\学习\51教程\CH6800-ES V2.0光盘资料(新)\实验程序\高级应用例程\超声波测距(LCD1602显示)\程序\pro.uvproj |
||||
Project File Date: 12/16/2018 |
||||
|
||||
<h2>Output:</h2> |
||||
Build target 'Target 1' |
||||
linking... |
||||
Program Size: data=40.1 xdata=0 code=1689 |
||||
creating hex file from "pro"... |
||||
"pro" - 0 Error(s), 0 Warning(s). |
||||
Build target 'Target 1' |
||||
compiling main.c... |
||||
linking... |
||||
Program Size: data=40.1 xdata=0 code=1689 |
||||
creating hex file from "pro"... |
||||
"pro" - 0 Error(s), 0 Warning(s). |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,252 @@
@@ -0,0 +1,252 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> |
||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_opt.xsd"> |
||||
|
||||
<SchemaVersion>1.0</SchemaVersion> |
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header> |
||||
|
||||
<Extensions> |
||||
<cExt>*.c</cExt> |
||||
<aExt>*.s*; *.src; *.a*</aExt> |
||||
<oExt>*.obj; *.o</oExt> |
||||
<lExt>*.lib</lExt> |
||||
<tExt>*.txt; *.h; *.inc</tExt> |
||||
<pExt>*.plm</pExt> |
||||
<CppX>*.cpp</CppX> |
||||
<nMigrate>0</nMigrate> |
||||
</Extensions> |
||||
|
||||
<DaveTm> |
||||
<dwLowDateTime>0</dwLowDateTime> |
||||
<dwHighDateTime>0</dwHighDateTime> |
||||
</DaveTm> |
||||
|
||||
<Target> |
||||
<TargetName>Target 1</TargetName> |
||||
<ToolsetNumber>0x0</ToolsetNumber> |
||||
<ToolsetName>MCS-51</ToolsetName> |
||||
<TargetOption> |
||||
<CLK51>24000000</CLK51> |
||||
<OPTTT> |
||||
<gFlags>1</gFlags> |
||||
<BeepAtEnd>1</BeepAtEnd> |
||||
<RunSim>1</RunSim> |
||||
<RunTarget>0</RunTarget> |
||||
<RunAbUc>0</RunAbUc> |
||||
</OPTTT> |
||||
<OPTHX> |
||||
<HexSelection>0</HexSelection> |
||||
<FlashByte>65535</FlashByte> |
||||
<HexRangeLowAddress>0</HexRangeLowAddress> |
||||
<HexRangeHighAddress>0</HexRangeHighAddress> |
||||
<HexOffset>0</HexOffset> |
||||
</OPTHX> |
||||
<OPTLEX> |
||||
<PageWidth>120</PageWidth> |
||||
<PageLength>65</PageLength> |
||||
<TabStop>8</TabStop> |
||||
<ListingPath>.\</ListingPath> |
||||
</OPTLEX> |
||||
<ListingPage> |
||||
<CreateCListing>1</CreateCListing> |
||||
<CreateAListing>1</CreateAListing> |
||||
<CreateLListing>1</CreateLListing> |
||||
<CreateIListing>0</CreateIListing> |
||||
<AsmCond>1</AsmCond> |
||||
<AsmSymb>1</AsmSymb> |
||||
<AsmXref>0</AsmXref> |
||||
<CCond>1</CCond> |
||||
<CCode>0</CCode> |
||||
<CListInc>0</CListInc> |
||||
<CSymb>0</CSymb> |
||||
<LinkerCodeListing>0</LinkerCodeListing> |
||||
</ListingPage> |
||||
<OPTXL> |
||||
<LMap>1</LMap> |
||||
<LComments>1</LComments> |
||||
<LGenerateSymbols>1</LGenerateSymbols> |
||||
<LLibSym>1</LLibSym> |
||||
<LLines>1</LLines> |
||||
<LLocSym>1</LLocSym> |
||||
<LPubSym>1</LPubSym> |
||||
<LXref>0</LXref> |
||||
<LExpSel>0</LExpSel> |
||||
</OPTXL> |
||||
<OPTFL> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<IsCurrentTarget>1</IsCurrentTarget> |
||||
</OPTFL> |
||||
<CpuCode>255</CpuCode> |
||||
<Books> |
||||
<Book> |
||||
<Number>0</Number> |
||||
<Title>Data Sheet</Title> |
||||
<Path>DATASHTS\ATMEL\AT89C51_DS.PDF</Path> |
||||
</Book> |
||||
<Book> |
||||
<Number>1</Number> |
||||
<Title>Instruction Set Manual</Title> |
||||
<Path>DATASHTS\ATMEL\AT_C51ISM.PDF</Path> |
||||
</Book> |
||||
</Books> |
||||
<DebugOpt> |
||||
<uSim>1</uSim> |
||||
<uTrg>0</uTrg> |
||||
<sLdApp>1</sLdApp> |
||||
<sGomain>1</sGomain> |
||||
<sRbreak>1</sRbreak> |
||||
<sRwatch>1</sRwatch> |
||||
<sRmem>1</sRmem> |
||||
<sRfunc>1</sRfunc> |
||||
<sRbox>1</sRbox> |
||||
<tLdApp>1</tLdApp> |
||||
<tGomain>0</tGomain> |
||||
<tRbreak>1</tRbreak> |
||||
<tRwatch>1</tRwatch> |
||||
<tRmem>1</tRmem> |
||||
<tRfunc>0</tRfunc> |
||||
<tRbox>1</tRbox> |
||||
<tRtrace>0</tRtrace> |
||||
<sRSysVw>1</sRSysVw> |
||||
<tRSysVw>1</tRSysVw> |
||||
<sRunDeb>0</sRunDeb> |
||||
<sLrtime>0</sLrtime> |
||||
<bEvRecOn>1</bEvRecOn> |
||||
<bSchkAxf>0</bSchkAxf> |
||||
<bTchkAxf>0</bTchkAxf> |
||||
<nTsel>-1</nTsel> |
||||
<sDll></sDll> |
||||
<sDllPa></sDllPa> |
||||
<sDlgDll></sDlgDll> |
||||
<sDlgPa></sDlgPa> |
||||
<sIfile></sIfile> |
||||
<tDll></tDll> |
||||
<tDllPa></tDllPa> |
||||
<tDlgDll></tDlgDll> |
||||
<tDlgPa></tDlgPa> |
||||
<tIfile></tIfile> |
||||
<pMon></pMon> |
||||
</DebugOpt> |
||||
<TargetDriverDllRegistry> |
||||
<SetRegEntry> |
||||
<Number>0</Number> |
||||
<Key>DLGDP51</Key> |
||||
<Name>(98=-1,-1,-1,-1,0)(82=-1,-1,-1,-1,0)(83=-1,-1,-1,-1,0)(84=-1,-1,-1,-1,0)(85=-1,-1,-1,-1,0)(80=-1,-1,-1,-1,0)(91=-1,-1,-1,-1,0)(92=-1,-1,-1,-1,0)</Name> |
||||
</SetRegEntry> |
||||
</TargetDriverDllRegistry> |
||||
<Breakpoint/> |
||||
<Tracepoint> |
||||
<THDelay>0</THDelay> |
||||
</Tracepoint> |
||||
<DebugFlag> |
||||
<trace>0</trace> |
||||
<periodic>1</periodic> |
||||
<aLwin>1</aLwin> |
||||
<aCover>0</aCover> |
||||
<aSer1>0</aSer1> |
||||
<aSer2>0</aSer2> |
||||
<aPa>0</aPa> |
||||
<viewmode>1</viewmode> |
||||
<vrSel>0</vrSel> |
||||
<aSym>0</aSym> |
||||
<aTbox>0</aTbox> |
||||
<AscS1>0</AscS1> |
||||
<AscS2>0</AscS2> |
||||
<AscS3>0</AscS3> |
||||
<aSer3>0</aSer3> |
||||
<eProf>0</eProf> |
||||
<aLa>0</aLa> |
||||
<aPa1>0</aPa1> |
||||
<AscS4>0</AscS4> |
||||
<aSer4>0</aSer4> |
||||
<StkLoc>0</StkLoc> |
||||
<TrcWin>0</TrcWin> |
||||
<newCpu>0</newCpu> |
||||
<uProt>0</uProt> |
||||
</DebugFlag> |
||||
<LintExecutable></LintExecutable> |
||||
<LintConfigFile></LintConfigFile> |
||||
<bLintAuto>0</bLintAuto> |
||||
<bAutoGenD>0</bAutoGenD> |
||||
<LntExFlags>0</LntExFlags> |
||||
<pMisraName></pMisraName> |
||||
<pszMrule></pszMrule> |
||||
<pSingCmds></pSingCmds> |
||||
<pMultCmds></pMultCmds> |
||||
<pMisraNamep></pMisraNamep> |
||||
<pszMrulep></pszMrulep> |
||||
<pSingCmdsp></pSingCmdsp> |
||||
<pMultCmdsp></pMultCmdsp> |
||||
</TargetOption> |
||||
</Target> |
||||
|
||||
<Group> |
||||
<GroupName>Source Group 1</GroupName> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<cbSel>0</cbSel> |
||||
<RteFlg>0</RteFlg> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>1</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\main.c</PathWithFileName> |
||||
<FilenameWithoutPath>main.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>2</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\lcd.c</PathWithFileName> |
||||
<FilenameWithoutPath>lcd.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>3</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\pwm.c</PathWithFileName> |
||||
<FilenameWithoutPath>pwm.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>4</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\i2c.c</PathWithFileName> |
||||
<FilenameWithoutPath>i2c.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>5</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>0</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\IRIN.c</PathWithFileName> |
||||
<FilenameWithoutPath>IRIN.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
</Group> |
||||
|
||||
</ProjectOpt> |
@ -0,0 +1,410 @@
@@ -0,0 +1,410 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> |
||||
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_proj.xsd"> |
||||
|
||||
<SchemaVersion>1.1</SchemaVersion> |
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header> |
||||
|
||||
<Targets> |
||||
<Target> |
||||
<TargetName>Target 1</TargetName> |
||||
<ToolsetNumber>0x0</ToolsetNumber> |
||||
<ToolsetName>MCS-51</ToolsetName> |
||||
<uAC6>0</uAC6> |
||||
<TargetOption> |
||||
<TargetCommonOption> |
||||
<Device>AT89C51</Device> |
||||
<Vendor>Atmel</Vendor> |
||||
<Cpu>IRAM(0-0x7F) IROM(0-0xFFF) CLOCK(24000000)</Cpu> |
||||
<FlashUtilSpec></FlashUtilSpec> |
||||
<StartupFile>"LIB\STARTUP.A51" ("Standard 8051 Startup Code")</StartupFile> |
||||
<FlashDriverDll></FlashDriverDll> |
||||
<DeviceId>2976</DeviceId> |
||||
<RegisterFile>REGX51.H</RegisterFile> |
||||
<MemoryEnv></MemoryEnv> |
||||
<Cmp></Cmp> |
||||
<Asm></Asm> |
||||
<Linker></Linker> |
||||
<OHString></OHString> |
||||
<InfinionOptionDll></InfinionOptionDll> |
||||
<SLE66CMisc></SLE66CMisc> |
||||
<SLE66AMisc></SLE66AMisc> |
||||
<SLE66LinkerMisc></SLE66LinkerMisc> |
||||
<SFDFile></SFDFile> |
||||
<bCustSvd>0</bCustSvd> |
||||
<UseEnv>0</UseEnv> |
||||
<BinPath></BinPath> |
||||
<IncludePath></IncludePath> |
||||
<LibPath></LibPath> |
||||
<RegisterFilePath>Atmel\</RegisterFilePath> |
||||
<DBRegisterFilePath>Atmel\</DBRegisterFilePath> |
||||
<TargetStatus> |
||||
<Error>0</Error> |
||||
<ExitCodeStop>0</ExitCodeStop> |
||||
<ButtonStop>0</ButtonStop> |
||||
<NotGenerated>0</NotGenerated> |
||||
<InvalidFlash>1</InvalidFlash> |
||||
</TargetStatus> |
||||
<OutputDirectory>.\</OutputDirectory> |
||||
<OutputName>pro</OutputName> |
||||
<CreateExecutable>1</CreateExecutable> |
||||
<CreateLib>0</CreateLib> |
||||
<CreateHexFile>1</CreateHexFile> |
||||
<DebugInformation>1</DebugInformation> |
||||
<BrowseInformation>1</BrowseInformation> |
||||
<ListingPath>.\</ListingPath> |
||||
<HexFormatSelection>0</HexFormatSelection> |
||||
<Merge32K>0</Merge32K> |
||||
<CreateBatchFile>0</CreateBatchFile> |
||||
<BeforeCompile> |
||||
<RunUserProg1>0</RunUserProg1> |
||||
<RunUserProg2>0</RunUserProg2> |
||||
<UserProg1Name></UserProg1Name> |
||||
<UserProg2Name></UserProg2Name> |
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode> |
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode> |
||||
<nStopU1X>0</nStopU1X> |
||||
<nStopU2X>0</nStopU2X> |
||||
</BeforeCompile> |
||||
<BeforeMake> |
||||
<RunUserProg1>0</RunUserProg1> |
||||
<RunUserProg2>0</RunUserProg2> |
||||
<UserProg1Name></UserProg1Name> |
||||
<UserProg2Name></UserProg2Name> |
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode> |
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode> |
||||
<nStopB1X>0</nStopB1X> |
||||
<nStopB2X>0</nStopB2X> |
||||
</BeforeMake> |
||||
<AfterMake> |
||||
<RunUserProg1>0</RunUserProg1> |
||||
<RunUserProg2>0</RunUserProg2> |
||||
<UserProg1Name></UserProg1Name> |
||||
<UserProg2Name></UserProg2Name> |
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode> |
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode> |
||||
<nStopA1X>0</nStopA1X> |
||||
<nStopA2X>0</nStopA2X> |
||||
</AfterMake> |
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild> |
||||
<SVCSIdString></SVCSIdString> |
||||
</TargetCommonOption> |
||||
<CommonProperty> |
||||
<UseCPPCompiler>0</UseCPPCompiler> |
||||
<RVCTCodeConst>0</RVCTCodeConst> |
||||
<RVCTZI>0</RVCTZI> |
||||
<RVCTOtherData>0</RVCTOtherData> |
||||
<ModuleSelection>0</ModuleSelection> |
||||
<IncludeInBuild>1</IncludeInBuild> |
||||
<AlwaysBuild>0</AlwaysBuild> |
||||
<GenerateAssemblyFile>0</GenerateAssemblyFile> |
||||
<AssembleAssemblyFile>0</AssembleAssemblyFile> |
||||
<PublicsOnly>0</PublicsOnly> |
||||
<StopOnExitCode>3</StopOnExitCode> |
||||
<CustomArgument></CustomArgument> |
||||
<IncludeLibraryModules></IncludeLibraryModules> |
||||
<ComprImg>1</ComprImg> |
||||
<BankNo>65535</BankNo> |
||||
</CommonProperty> |
||||
<DllOption> |
||||
<SimDllName>S8051.DLL</SimDllName> |
||||
<SimDllArguments></SimDllArguments> |
||||
<SimDlgDll>DP51.DLL</SimDlgDll> |
||||
<SimDlgDllArguments>-p51</SimDlgDllArguments> |
||||
<TargetDllName>S8051.DLL</TargetDllName> |
||||
<TargetDllArguments></TargetDllArguments> |
||||
<TargetDlgDll>TP51.DLL</TargetDlgDll> |
||||
<TargetDlgDllArguments>-p51</TargetDlgDllArguments> |
||||
</DllOption> |
||||
<DebugOption> |
||||
<OPTHX> |
||||
<HexSelection>0</HexSelection> |
||||
<HexRangeLowAddress>0</HexRangeLowAddress> |
||||
<HexRangeHighAddress>0</HexRangeHighAddress> |
||||
<HexOffset>0</HexOffset> |
||||
<Oh166RecLen>16</Oh166RecLen> |
||||
</OPTHX> |
||||
<Simulator> |
||||
<UseSimulator>1</UseSimulator> |
||||
<LoadApplicationAtStartup>1</LoadApplicationAtStartup> |
||||
<RunToMain>1</RunToMain> |
||||
<RestoreBreakpoints>1</RestoreBreakpoints> |
||||
<RestoreWatchpoints>1</RestoreWatchpoints> |
||||
<RestoreMemoryDisplay>1</RestoreMemoryDisplay> |
||||
<RestoreFunctions>1</RestoreFunctions> |
||||
<RestoreToolbox>1</RestoreToolbox> |
||||
<LimitSpeedToRealTime>0</LimitSpeedToRealTime> |
||||
<RestoreSysVw>1</RestoreSysVw> |
||||
</Simulator> |
||||
<Target> |
||||
<UseTarget>0</UseTarget> |
||||
<LoadApplicationAtStartup>1</LoadApplicationAtStartup> |
||||
<RunToMain>0</RunToMain> |
||||
<RestoreBreakpoints>1</RestoreBreakpoints> |
||||
<RestoreWatchpoints>1</RestoreWatchpoints> |
||||
<RestoreMemoryDisplay>1</RestoreMemoryDisplay> |
||||
<RestoreFunctions>0</RestoreFunctions> |
||||
<RestoreToolbox>1</RestoreToolbox> |
||||
<RestoreTracepoints>0</RestoreTracepoints> |
||||
<RestoreSysVw>1</RestoreSysVw> |
||||
</Target> |
||||
<RunDebugAfterBuild>0</RunDebugAfterBuild> |
||||
<TargetSelection>-1</TargetSelection> |
||||
<SimDlls> |
||||
<CpuDll></CpuDll> |
||||
<CpuDllArguments></CpuDllArguments> |
||||
<PeripheralDll></PeripheralDll> |
||||
<PeripheralDllArguments></PeripheralDllArguments> |
||||
<InitializationFile></InitializationFile> |
||||
</SimDlls> |
||||
<TargetDlls> |
||||
<CpuDll></CpuDll> |
||||
<CpuDllArguments></CpuDllArguments> |
||||
<PeripheralDll></PeripheralDll> |
||||
<PeripheralDllArguments></PeripheralDllArguments> |
||||
<InitializationFile></InitializationFile> |
||||
<Driver></Driver> |
||||
</TargetDlls> |
||||
</DebugOption> |
||||
<Utilities> |
||||
<Flash1> |
||||
<UseTargetDll>0</UseTargetDll> |
||||
<UseExternalTool>0</UseExternalTool> |
||||
<RunIndependent>0</RunIndependent> |
||||
<UpdateFlashBeforeDebugging>0</UpdateFlashBeforeDebugging> |
||||
<Capability>0</Capability> |
||||
<DriverSelection>-1</DriverSelection> |
||||
</Flash1> |
||||
<bUseTDR>0</bUseTDR> |
||||
<Flash2></Flash2> |
||||
<Flash3></Flash3> |
||||
<Flash4></Flash4> |
||||
<pFcarmOut></pFcarmOut> |
||||
<pFcarmGrp></pFcarmGrp> |
||||
<pFcArmRoot></pFcArmRoot> |
||||
<FcArmLst>0</FcArmLst> |
||||
</Utilities> |
||||
<Target51> |
||||
<Target51Misc> |
||||
<MemoryModel>0</MemoryModel> |
||||
<RTOS>0</RTOS> |
||||
<RomSize>2</RomSize> |
||||
<DataHold>0</DataHold> |
||||
<XDataHold>0</XDataHold> |
||||
<UseOnchipRom>0</UseOnchipRom> |
||||
<UseOnchipArithmetic>0</UseOnchipArithmetic> |
||||
<UseMultipleDPTR>0</UseMultipleDPTR> |
||||
<UseOnchipXram>0</UseOnchipXram> |
||||
<HadIRAM>1</HadIRAM> |
||||
<HadXRAM>0</HadXRAM> |
||||
<HadIROM>1</HadIROM> |
||||
<Moda2>0</Moda2> |
||||
<Moddp2>0</Moddp2> |
||||
<Modp2>0</Modp2> |
||||
<Mod517dp>0</Mod517dp> |
||||
<Mod517au>0</Mod517au> |
||||
<Mode2>0</Mode2> |
||||
<useCB>0</useCB> |
||||
<useXB>0</useXB> |
||||
<useL251>0</useL251> |
||||
<useA251>0</useA251> |
||||
<Mx51>0</Mx51> |
||||
<ModC812>0</ModC812> |
||||
<ModCont>0</ModCont> |
||||
<Lp51>0</Lp51> |
||||
<useXBS>0</useXBS> |
||||
<ModDA>0</ModDA> |
||||
<ModAB2>0</ModAB2> |
||||
<Mx51P>0</Mx51P> |
||||
<hadXRAM2>0</hadXRAM2> |
||||
<uocXram2>0</uocXram2> |
||||
<hadXRAM3>0</hadXRAM3> |
||||
<ModC2>0</ModC2> |
||||
<ModH2>0</ModH2> |
||||
<Mdu_R515>0</Mdu_R515> |
||||
<Mdu_F120>0</Mdu_F120> |
||||
<Psoc>0</Psoc> |
||||
<hadIROM2>0</hadIROM2> |
||||
<hadIROM3>0</hadIROM3> |
||||
<ModSmx2>0</ModSmx2> |
||||
<cBanks>0</cBanks> |
||||
<xBanks>0</xBanks> |
||||
<OnChipMemories> |
||||
<RCB> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0xffff</Size> |
||||
</RCB> |
||||
<RXB> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</RXB> |
||||
<Ocm1> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocm1> |
||||
<Ocm2> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocm2> |
||||
<Ocm3> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocm3> |
||||
<Ocr1> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocr1> |
||||
<Ocr2> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocr2> |
||||
<Ocr3> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocr3> |
||||
<IRO> |
||||
<Type>1</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x1000</Size> |
||||
</IRO> |
||||
<IRA> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x80</Size> |
||||
</IRA> |
||||
<XRA> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</XRA> |
||||
<XRA512> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</XRA512> |
||||
<IROM512> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</IROM512> |
||||
<XRA513> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</XRA513> |
||||
<IROM513> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</IROM513> |
||||
</OnChipMemories> |
||||
</Target51Misc> |
||||
<C51> |
||||
<RegisterColoring>0</RegisterColoring> |
||||
<VariablesInOrder>0</VariablesInOrder> |
||||
<IntegerPromotion>1</IntegerPromotion> |
||||
<uAregs>0</uAregs> |
||||
<UseInterruptVector>1</UseInterruptVector> |
||||
<Fuzzy>3</Fuzzy> |
||||
<Optimize>8</Optimize> |
||||
<WarningLevel>2</WarningLevel> |
||||
<SizeSpeed>1</SizeSpeed> |
||||
<ObjectExtend>1</ObjectExtend> |
||||
<ACallAJmp>0</ACallAJmp> |
||||
<InterruptVectorAddress>0</InterruptVectorAddress> |
||||
<VariousControls> |
||||
<MiscControls></MiscControls> |
||||
<Define></Define> |
||||
<Undefine></Undefine> |
||||
<IncludePath></IncludePath> |
||||
</VariousControls> |
||||
</C51> |
||||
<Ax51> |
||||
<UseMpl>0</UseMpl> |
||||
<UseStandard>1</UseStandard> |
||||
<UseCase>0</UseCase> |
||||
<UseMod51>0</UseMod51> |
||||
<VariousControls> |
||||
<MiscControls></MiscControls> |
||||
<Define></Define> |
||||
<Undefine></Undefine> |
||||
<IncludePath></IncludePath> |
||||
</VariousControls> |
||||
</Ax51> |
||||
<Lx51> |
||||
<useFile>0</useFile> |
||||
<linkonly>0</linkonly> |
||||
<UseMemoryFromTarget>1</UseMemoryFromTarget> |
||||
<CaseSensitiveSymbols>0</CaseSensitiveSymbols> |
||||
<WarningLevel>2</WarningLevel> |
||||
<DataOverlaying>1</DataOverlaying> |
||||
<OverlayString></OverlayString> |
||||
<MiscControls></MiscControls> |
||||
<DisableWarningNumbers>15,16</DisableWarningNumbers> |
||||
<LinkerCmdFile></LinkerCmdFile> |
||||
<Assign></Assign> |
||||
<ReserveString></ReserveString> |
||||
<CClasses></CClasses> |
||||
<UserClasses></UserClasses> |
||||
<CSection></CSection> |
||||
<UserSection></UserSection> |
||||
<CodeBaseAddress></CodeBaseAddress> |
||||
<XDataBaseAddress></XDataBaseAddress> |
||||
<PDataBaseAddress></PDataBaseAddress> |
||||
<BitBaseAddress></BitBaseAddress> |
||||
<DataBaseAddress></DataBaseAddress> |
||||
<IDataBaseAddress></IDataBaseAddress> |
||||
<Precede></Precede> |
||||
<Stack></Stack> |
||||
<CodeSegmentName></CodeSegmentName> |
||||
<XDataSegmentName></XDataSegmentName> |
||||
<BitSegmentName></BitSegmentName> |
||||
<DataSegmentName></DataSegmentName> |
||||
<IDataSegmentName></IDataSegmentName> |
||||
</Lx51> |
||||
</Target51> |
||||
</TargetOption> |
||||
<Groups> |
||||
<Group> |
||||
<GroupName>Source Group 1</GroupName> |
||||
<Files> |
||||
<File> |
||||
<FileName>main.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\main.c</FilePath> |
||||
</File> |
||||
<File> |
||||
<FileName>lcd.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\lcd.c</FilePath> |
||||
</File> |
||||
<File> |
||||
<FileName>pwm.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\pwm.c</FilePath> |
||||
</File> |
||||
<File> |
||||
<FileName>i2c.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\i2c.c</FilePath> |
||||
</File> |
||||
<File> |
||||
<FileName>IRIN.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\IRIN.c</FilePath> |
||||
</File> |
||||
</Files> |
||||
</Group> |
||||
</Groups> |
||||
</Target> |
||||
</Targets> |
||||
|
||||
</Project> |
@ -0,0 +1,379 @@
@@ -0,0 +1,379 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> |
||||
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_proj.xsd"> |
||||
|
||||
<SchemaVersion>1.1</SchemaVersion> |
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header> |
||||
|
||||
<Targets> |
||||
<Target> |
||||
<TargetName>Target 1</TargetName> |
||||
<ToolsetNumber>0x0</ToolsetNumber> |
||||
<ToolsetName>MCS-51</ToolsetName> |
||||
<TargetOption> |
||||
<TargetCommonOption> |
||||
<Device>AT89C51</Device> |
||||
<Vendor>Atmel</Vendor> |
||||
<Cpu>IRAM(0-0x7F) IROM(0-0xFFF) CLOCK(24000000)</Cpu> |
||||
<FlashUtilSpec></FlashUtilSpec> |
||||
<StartupFile>"LIB\STARTUP.A51" ("Standard 8051 Startup Code")</StartupFile> |
||||
<FlashDriverDll></FlashDriverDll> |
||||
<DeviceId>2976</DeviceId> |
||||
<RegisterFile>REGX51.H</RegisterFile> |
||||
<MemoryEnv></MemoryEnv> |
||||
<Cmp></Cmp> |
||||
<Asm></Asm> |
||||
<Linker></Linker> |
||||
<OHString></OHString> |
||||
<InfinionOptionDll></InfinionOptionDll> |
||||
<SLE66CMisc></SLE66CMisc> |
||||
<SLE66AMisc></SLE66AMisc> |
||||
<SLE66LinkerMisc></SLE66LinkerMisc> |
||||
<SFDFile></SFDFile> |
||||
<bCustSvd>0</bCustSvd> |
||||
<UseEnv>0</UseEnv> |
||||
<BinPath></BinPath> |
||||
<IncludePath></IncludePath> |
||||
<LibPath></LibPath> |
||||
<RegisterFilePath>Atmel\</RegisterFilePath> |
||||
<DBRegisterFilePath>Atmel\</DBRegisterFilePath> |
||||
<TargetStatus> |
||||
<Error>0</Error> |
||||
<ExitCodeStop>0</ExitCodeStop> |
||||
<ButtonStop>0</ButtonStop> |
||||
<NotGenerated>0</NotGenerated> |
||||
<InvalidFlash>1</InvalidFlash> |
||||
</TargetStatus> |
||||
<OutputDirectory>.\</OutputDirectory> |
||||
<OutputName>pro</OutputName> |
||||
<CreateExecutable>1</CreateExecutable> |
||||
<CreateLib>0</CreateLib> |
||||
<CreateHexFile>1</CreateHexFile> |
||||
<DebugInformation>1</DebugInformation> |
||||
<BrowseInformation>1</BrowseInformation> |
||||
<ListingPath>.\</ListingPath> |
||||
<HexFormatSelection>0</HexFormatSelection> |
||||
<Merge32K>0</Merge32K> |
||||
<CreateBatchFile>0</CreateBatchFile> |
||||
<BeforeCompile> |
||||
<RunUserProg1>0</RunUserProg1> |
||||
<RunUserProg2>0</RunUserProg2> |
||||
<UserProg1Name></UserProg1Name> |
||||
<UserProg2Name></UserProg2Name> |
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode> |
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode> |
||||
<nStopU1X>0</nStopU1X> |
||||
<nStopU2X>0</nStopU2X> |
||||
</BeforeCompile> |
||||
<BeforeMake> |
||||
<RunUserProg1>0</RunUserProg1> |
||||
<RunUserProg2>0</RunUserProg2> |
||||
<UserProg1Name></UserProg1Name> |
||||
<UserProg2Name></UserProg2Name> |
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode> |
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode> |
||||
</BeforeMake> |
||||
<AfterMake> |
||||
<RunUserProg1>0</RunUserProg1> |
||||
<RunUserProg2>0</RunUserProg2> |
||||
<UserProg1Name></UserProg1Name> |
||||
<UserProg2Name></UserProg2Name> |
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode> |
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode> |
||||
</AfterMake> |
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild> |
||||
<SVCSIdString></SVCSIdString> |
||||
</TargetCommonOption> |
||||
<CommonProperty> |
||||
<UseCPPCompiler>0</UseCPPCompiler> |
||||
<RVCTCodeConst>0</RVCTCodeConst> |
||||
<RVCTZI>0</RVCTZI> |
||||
<RVCTOtherData>0</RVCTOtherData> |
||||
<ModuleSelection>0</ModuleSelection> |
||||
<IncludeInBuild>1</IncludeInBuild> |
||||
<AlwaysBuild>0</AlwaysBuild> |
||||
<GenerateAssemblyFile>0</GenerateAssemblyFile> |
||||
<AssembleAssemblyFile>0</AssembleAssemblyFile> |
||||
<PublicsOnly>0</PublicsOnly> |
||||
<StopOnExitCode>3</StopOnExitCode> |
||||
<CustomArgument></CustomArgument> |
||||
<IncludeLibraryModules></IncludeLibraryModules> |
||||
<ComprImg>1</ComprImg> |
||||
<BankNo>65535</BankNo> |
||||
</CommonProperty> |
||||
<DllOption> |
||||
<SimDllName>S8051.DLL</SimDllName> |
||||
<SimDllArguments></SimDllArguments> |
||||
<SimDlgDll>DP51.DLL</SimDlgDll> |
||||
<SimDlgDllArguments>-p51</SimDlgDllArguments> |
||||
<TargetDllName>S8051.DLL</TargetDllName> |
||||
<TargetDllArguments></TargetDllArguments> |
||||
<TargetDlgDll>TP51.DLL</TargetDlgDll> |
||||
<TargetDlgDllArguments>-p51</TargetDlgDllArguments> |
||||
</DllOption> |
||||
<DebugOption> |
||||
<OPTHX> |
||||
<HexSelection>0</HexSelection> |
||||
<HexRangeLowAddress>0</HexRangeLowAddress> |
||||
<HexRangeHighAddress>0</HexRangeHighAddress> |
||||
<HexOffset>0</HexOffset> |
||||
<Oh166RecLen>16</Oh166RecLen> |
||||
</OPTHX> |
||||
<Simulator> |
||||
<UseSimulator>1</UseSimulator> |
||||
<LoadApplicationAtStartup>1</LoadApplicationAtStartup> |
||||
<RunToMain>1</RunToMain> |
||||
<RestoreBreakpoints>1</RestoreBreakpoints> |
||||
<RestoreWatchpoints>1</RestoreWatchpoints> |
||||
<RestoreMemoryDisplay>1</RestoreMemoryDisplay> |
||||
<RestoreFunctions>1</RestoreFunctions> |
||||
<RestoreToolbox>1</RestoreToolbox> |
||||
<LimitSpeedToRealTime>0</LimitSpeedToRealTime> |
||||
<RestoreSysVw>1</RestoreSysVw> |
||||
</Simulator> |
||||
<Target> |
||||
<UseTarget>0</UseTarget> |
||||
<LoadApplicationAtStartup>1</LoadApplicationAtStartup> |
||||
<RunToMain>0</RunToMain> |
||||
<RestoreBreakpoints>1</RestoreBreakpoints> |
||||
<RestoreWatchpoints>1</RestoreWatchpoints> |
||||
<RestoreMemoryDisplay>1</RestoreMemoryDisplay> |
||||
<RestoreFunctions>0</RestoreFunctions> |
||||
<RestoreToolbox>1</RestoreToolbox> |
||||
<RestoreTracepoints>0</RestoreTracepoints> |
||||
<RestoreSysVw>1</RestoreSysVw> |
||||
<UsePdscDebugDescription>1</UsePdscDebugDescription> |
||||
</Target> |
||||
<RunDebugAfterBuild>0</RunDebugAfterBuild> |
||||
<TargetSelection>-1</TargetSelection> |
||||
<SimDlls> |
||||
<CpuDll></CpuDll> |
||||
<CpuDllArguments></CpuDllArguments> |
||||
<PeripheralDll></PeripheralDll> |
||||
<PeripheralDllArguments></PeripheralDllArguments> |
||||
<InitializationFile></InitializationFile> |
||||
</SimDlls> |
||||
<TargetDlls> |
||||
<CpuDll></CpuDll> |
||||
<CpuDllArguments></CpuDllArguments> |
||||
<PeripheralDll></PeripheralDll> |
||||
<PeripheralDllArguments></PeripheralDllArguments> |
||||
<InitializationFile></InitializationFile> |
||||
<Driver></Driver> |
||||
</TargetDlls> |
||||
</DebugOption> |
||||
<Utilities> |
||||
<Flash1> |
||||
<UseTargetDll>0</UseTargetDll> |
||||
<UseExternalTool>0</UseExternalTool> |
||||
<RunIndependent>0</RunIndependent> |
||||
<UpdateFlashBeforeDebugging>0</UpdateFlashBeforeDebugging> |
||||
<Capability>0</Capability> |
||||
<DriverSelection>-1</DriverSelection> |
||||
</Flash1> |
||||
<bUseTDR>0</bUseTDR> |
||||
<Flash2></Flash2> |
||||
<Flash3></Flash3> |
||||
<Flash4></Flash4> |
||||
<pFcarmOut></pFcarmOut> |
||||
<pFcarmGrp></pFcarmGrp> |
||||
<pFcArmRoot></pFcArmRoot> |
||||
<FcArmLst>0</FcArmLst> |
||||
</Utilities> |
||||
<Target51> |
||||
<Target51Misc> |
||||
<MemoryModel>0</MemoryModel> |
||||
<RTOS>0</RTOS> |
||||
<RomSize>2</RomSize> |
||||
<DataHold>0</DataHold> |
||||
<XDataHold>0</XDataHold> |
||||
<UseOnchipRom>0</UseOnchipRom> |
||||
<UseOnchipArithmetic>0</UseOnchipArithmetic> |
||||
<UseMultipleDPTR>0</UseMultipleDPTR> |
||||
<UseOnchipXram>0</UseOnchipXram> |
||||
<HadIRAM>1</HadIRAM> |
||||
<HadXRAM>0</HadXRAM> |
||||
<HadIROM>1</HadIROM> |
||||
<Moda2>0</Moda2> |
||||
<Moddp2>0</Moddp2> |
||||
<Modp2>0</Modp2> |
||||
<Mod517dp>0</Mod517dp> |
||||
<Mod517au>0</Mod517au> |
||||
<Mode2>0</Mode2> |
||||
<useCB>0</useCB> |
||||
<useXB>0</useXB> |
||||
<useL251>0</useL251> |
||||
<useA251>0</useA251> |
||||
<Mx51>0</Mx51> |
||||
<ModC812>0</ModC812> |
||||
<ModCont>0</ModCont> |
||||
<Lp51>0</Lp51> |
||||
<useXBS>0</useXBS> |
||||
<ModDA>0</ModDA> |
||||
<ModAB2>0</ModAB2> |
||||
<Mx51P>0</Mx51P> |
||||
<hadXRAM2>0</hadXRAM2> |
||||
<uocXram2>0</uocXram2> |
||||
<ModC2>0</ModC2> |
||||
<ModH2>0</ModH2> |
||||
<Mdu_R515>0</Mdu_R515> |
||||
<Mdu_F120>0</Mdu_F120> |
||||
<Psoc>0</Psoc> |
||||
<hadIROM2>0</hadIROM2> |
||||
<ModSmx2>0</ModSmx2> |
||||
<cBanks>0</cBanks> |
||||
<xBanks>0</xBanks> |
||||
<OnChipMemories> |
||||
<RCB> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x10000</Size> |
||||
</RCB> |
||||
<RXB> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</RXB> |
||||
<Ocm1> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocm1> |
||||
<Ocm2> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocm2> |
||||
<Ocm3> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocm3> |
||||
<Ocr1> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocr1> |
||||
<Ocr2> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocr2> |
||||
<Ocr3> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocr3> |
||||
<IRO> |
||||
<Type>1</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x1000</Size> |
||||
</IRO> |
||||
<IRA> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x80</Size> |
||||
</IRA> |
||||
<XRA> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</XRA> |
||||
<XRA512> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</XRA512> |
||||
<IROM512> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</IROM512> |
||||
</OnChipMemories> |
||||
</Target51Misc> |
||||
<C51> |
||||
<RegisterColoring>0</RegisterColoring> |
||||
<VariablesInOrder>0</VariablesInOrder> |
||||
<IntegerPromotion>1</IntegerPromotion> |
||||
<uAregs>0</uAregs> |
||||
<UseInterruptVector>1</UseInterruptVector> |
||||
<Fuzzy>3</Fuzzy> |
||||
<Optimize>8</Optimize> |
||||
<WarningLevel>2</WarningLevel> |
||||
<SizeSpeed>1</SizeSpeed> |
||||
<ObjectExtend>1</ObjectExtend> |
||||
<ACallAJmp>0</ACallAJmp> |
||||
<InterruptVectorAddress>0</InterruptVectorAddress> |
||||
<VariousControls> |
||||
<MiscControls></MiscControls> |
||||
<Define></Define> |
||||
<Undefine></Undefine> |
||||
<IncludePath></IncludePath> |
||||
</VariousControls> |
||||
</C51> |
||||
<Ax51> |
||||
<UseMpl>0</UseMpl> |
||||
<UseStandard>1</UseStandard> |
||||
<UseCase>0</UseCase> |
||||
<UseMod51>0</UseMod51> |
||||
<VariousControls> |
||||
<MiscControls></MiscControls> |
||||
<Define></Define> |
||||
<Undefine></Undefine> |
||||
<IncludePath></IncludePath> |
||||
</VariousControls> |
||||
</Ax51> |
||||
<Lx51> |
||||
<useFile>0</useFile> |
||||
<linkonly>0</linkonly> |
||||
<UseMemoryFromTarget>1</UseMemoryFromTarget> |
||||
<CaseSensitiveSymbols>0</CaseSensitiveSymbols> |
||||
<WarningLevel>2</WarningLevel> |
||||
<DataOverlaying>1</DataOverlaying> |
||||
<OverlayString></OverlayString> |
||||
<MiscControls></MiscControls> |
||||
<DisableWarningNumbers></DisableWarningNumbers> |
||||
<LinkerCmdFile></LinkerCmdFile> |
||||
<Assign></Assign> |
||||
<ReserveString></ReserveString> |
||||
<CClasses></CClasses> |
||||
<UserClasses></UserClasses> |
||||
<CSection></CSection> |
||||
<UserSection></UserSection> |
||||
<CodeBaseAddress></CodeBaseAddress> |
||||
<XDataBaseAddress></XDataBaseAddress> |
||||
<PDataBaseAddress></PDataBaseAddress> |
||||
<BitBaseAddress></BitBaseAddress> |
||||
<DataBaseAddress></DataBaseAddress> |
||||
<IDataBaseAddress></IDataBaseAddress> |
||||
<Precede></Precede> |
||||
<Stack></Stack> |
||||
<CodeSegmentName></CodeSegmentName> |
||||
<XDataSegmentName></XDataSegmentName> |
||||
<BitSegmentName></BitSegmentName> |
||||
<DataSegmentName></DataSegmentName> |
||||
<IDataSegmentName></IDataSegmentName> |
||||
</Lx51> |
||||
</Target51> |
||||
</TargetOption> |
||||
<Groups> |
||||
<Group> |
||||
<GroupName>Source Group 1</GroupName> |
||||
<Files> |
||||
<File> |
||||
<FileName>main.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\main.c</FilePath> |
||||
</File> |
||||
<File> |
||||
<FileName>lcd.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\lcd.c</FilePath> |
||||
</File> |
||||
</Files> |
||||
</Group> |
||||
</Groups> |
||||
</Target> |
||||
</Targets> |
||||
|
||||
</Project> |
Binary file not shown.
@ -0,0 +1,117 @@
@@ -0,0 +1,117 @@
|
||||
#include "pwm.h" |
||||
|
||||
unsigned char pwm_val_left =0;//变量定义
|
||||
unsigned char push_val_left =0;// 左电机占空比N/20
|
||||
unsigned char pwm_val_right =0; |
||||
unsigned char push_val_right=0;// 右电机占空比N/20
|
||||
unsigned char pwm_left=0; |
||||
|
||||
bit Right_moto_stop=1; |
||||
bit Left_moto_stop =1; |
||||
|
||||
unsigned int time1=0; |
||||
|
||||
|
||||
|
||||
/************************************************************************/
|
||||
//延时函数
|
||||
void delay(unsigned int k) |
||||
{
|
||||
unsigned int x,y; |
||||
for(x=0;x<k;x++)
|
||||
for(y=0;y<2000;y++); |
||||
} |
||||
/************************************************************************/ |
||||
//前速前进
|
||||
void run(void) |
||||
{ |
||||
push_val_left=3; //速度调节变量 0-20。。。0最小,20最大
|
||||
push_val_right=pwm_left; |
||||
Left_moto_go ; //左电机往前走
|
||||
Right_moto_go ; //右电机往前走
|
||||
} |
||||
|
||||
void backrun(void) |
||||
{ |
||||
push_val_left=3; //速度调节变量 0-20。。。0最小,20最大
|
||||
push_val_right=4; |
||||
Left_moto_back; //左电机往前走
|
||||
Right_moto_back; //右电机往前走
|
||||
} |
||||
|
||||
|
||||
//左转
|
||||
void leftrun(void) |
||||
{
|
||||
push_val_left=0; |
||||
push_val_right=4; |
||||
Right_moto_go ; //右电机往前走
|
||||
} |
||||
|
||||
|
||||
//右转
|
||||
void rightrun(void) |
||||
{
|
||||
push_val_right=0; |
||||
push_val_left=4; |
||||
Left_moto_go ; //左电机往前走
|
||||
} |
||||
|
||||
|
||||
void pwm_out_left_moto(void) |
||||
{
|
||||
if(Left_moto_stop) |
||||
{ |
||||
if(pwm_val_left<=push_val_left) |
||||
{ |
||||
Left_moto_pwm=1;
|
||||
} |
||||
else
|
||||
{ |
||||
Left_moto_pwm=0; |
||||
} |
||||
if(pwm_val_left>=20) |
||||
pwm_val_left=0; |
||||
} |
||||
else
|
||||
{ |
||||
Left_moto_pwm=0; |
||||
} |
||||
} |
||||
/******************************************************************/ |
||||
/* 右电机调速 */
|
||||
void pwm_out_right_moto(void) |
||||
{
|
||||
if(Right_moto_stop) |
||||
{ |
||||
if(pwm_val_right<=push_val_right) |
||||
{ |
||||
Right_moto_pwm=1;
|
||||
} |
||||
else
|
||||
{ |
||||
Right_moto_pwm=0; |
||||
} |
||||
if(pwm_val_right>=20) |
||||
pwm_val_right=0; |
||||
} |
||||
else
|
||||
{ |
||||
Right_moto_pwm=0; |
||||
} |
||||
} |
||||
|
||||
void timer1()interrupt 3 |
||||
{ |
||||
TH1=0XFc; //1Ms定时
|
||||
TL1=0X18; |
||||
time1++; |
||||
// pwm_val_left++;
|
||||
pwm_val_right++; |
||||
// pwm_out_left_moto();
|
||||
pwm_out_right_moto(); |
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,40 @@
@@ -0,0 +1,40 @@
|
||||
#ifndef _PWM_H |
||||
#define _PWM_H |
||||
|
||||
|
||||
#include <reg51.h> |
||||
#include "IRIN.h" |
||||
|
||||
void delay(unsigned int k); |
||||
void run(void); |
||||
void backrun(void); |
||||
void leftrun(void); |
||||
void rightrun(void); |
||||
void pwm_out_left_moto(void); |
||||
void pwm_out_right_moto(void); |
||||
|
||||
|
||||
//定义小车驱动模块输入IO口
|
||||
sbit IN1=P0^4; |
||||
sbit IN2=P0^5; |
||||
sbit IN3=P0^6; |
||||
sbit IN4=P0^7; |
||||
|
||||
sbit EN1=P3^4; |
||||
sbit EN2=P3^5; |
||||
|
||||
|
||||
|
||||
sbit Left_moto_pwm=P3^5; //PWM信号端
|
||||
|
||||
sbit Right_moto_pwm=P3^4; //PWM信号端
|
||||
|
||||
|
||||
#define Left_moto_go {IN3=0,IN4=1;} //左电机向前走
|
||||
#define Left_moto_back {IN3=1,IN4=0;} //左边电机向后转
|
||||
#define Left_moto_Stop {EN1=0;} //左边电机停转
|
||||
#define Right_moto_go {IN1=1,IN2=0;} //右边电机向前走
|
||||
#define Right_moto_back {IN1=0,IN2=1;} //右边电机向后走
|
||||
#define Right_moto_Stop {EN2=0;} //右边电机停转
|
||||
|
||||
#endif |
File diff suppressed because one or more lines are too long
@ -0,0 +1,185 @@
@@ -0,0 +1,185 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> |
||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_opt.xsd"> |
||||
|
||||
<SchemaVersion>1.0</SchemaVersion> |
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header> |
||||
|
||||
<Extensions> |
||||
<cExt>*.c</cExt> |
||||
<aExt>*.s*; *.src; *.a*</aExt> |
||||
<oExt>*.obj</oExt> |
||||
<lExt>*.lib</lExt> |
||||
<tExt>*.txt; *.h; *.inc</tExt> |
||||
<pExt>*.plm</pExt> |
||||
<CppX>*.cpp</CppX> |
||||
<nMigrate>0</nMigrate> |
||||
</Extensions> |
||||
|
||||
<DaveTm> |
||||
<dwLowDateTime>0</dwLowDateTime> |
||||
<dwHighDateTime>0</dwHighDateTime> |
||||
</DaveTm> |
||||
|
||||
<Target> |
||||
<TargetName>Target 1</TargetName> |
||||
<ToolsetNumber>0x0</ToolsetNumber> |
||||
<ToolsetName>MCS-51</ToolsetName> |
||||
<TargetOption> |
||||
<CLK51>24000000</CLK51> |
||||
<OPTTT> |
||||
<gFlags>0</gFlags> |
||||
<BeepAtEnd>1</BeepAtEnd> |
||||
<RunSim>1</RunSim> |
||||
<RunTarget>0</RunTarget> |
||||
<RunAbUc>0</RunAbUc> |
||||
</OPTTT> |
||||
<OPTHX> |
||||
<HexSelection>0</HexSelection> |
||||
<FlashByte>65535</FlashByte> |
||||
<HexRangeLowAddress>0</HexRangeLowAddress> |
||||
<HexRangeHighAddress>0</HexRangeHighAddress> |
||||
<HexOffset>0</HexOffset> |
||||
</OPTHX> |
||||
<OPTLEX> |
||||
<PageWidth>120</PageWidth> |
||||
<PageLength>65</PageLength> |
||||
<TabStop>8</TabStop> |
||||
<ListingPath>.\</ListingPath> |
||||
</OPTLEX> |
||||
<ListingPage> |
||||
<CreateCListing>1</CreateCListing> |
||||
<CreateAListing>1</CreateAListing> |
||||
<CreateLListing>1</CreateLListing> |
||||
<CreateIListing>0</CreateIListing> |
||||
<AsmCond>1</AsmCond> |
||||
<AsmSymb>1</AsmSymb> |
||||
<AsmXref>0</AsmXref> |
||||
<CCond>1</CCond> |
||||
<CCode>0</CCode> |
||||
<CListInc>0</CListInc> |
||||
<CSymb>0</CSymb> |
||||
<LinkerCodeListing>0</LinkerCodeListing> |
||||
</ListingPage> |
||||
<OPTXL> |
||||
<LMap>1</LMap> |
||||
<LComments>1</LComments> |
||||
<LGenerateSymbols>1</LGenerateSymbols> |
||||
<LLibSym>1</LLibSym> |
||||
<LLines>1</LLines> |
||||
<LLocSym>1</LLocSym> |
||||
<LPubSym>1</LPubSym> |
||||
<LXref>0</LXref> |
||||
<LExpSel>0</LExpSel> |
||||
</OPTXL> |
||||
<OPTFL> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<IsCurrentTarget>1</IsCurrentTarget> |
||||
</OPTFL> |
||||
<CpuCode>0</CpuCode> |
||||
<DebugOpt> |
||||
<uSim>1</uSim> |
||||
<uTrg>0</uTrg> |
||||
<sLdApp>1</sLdApp> |
||||
<sGomain>1</sGomain> |
||||
<sRbreak>1</sRbreak> |
||||
<sRwatch>1</sRwatch> |
||||
<sRmem>1</sRmem> |
||||
<sRfunc>1</sRfunc> |
||||
<sRbox>1</sRbox> |
||||
<tLdApp>1</tLdApp> |
||||
<tGomain>0</tGomain> |
||||
<tRbreak>1</tRbreak> |
||||
<tRwatch>1</tRwatch> |
||||
<tRmem>1</tRmem> |
||||
<tRfunc>0</tRfunc> |
||||
<tRbox>1</tRbox> |
||||
<tRtrace>0</tRtrace> |
||||
<sRSysVw>1</sRSysVw> |
||||
<tRSysVw>1</tRSysVw> |
||||
<sRunDeb>0</sRunDeb> |
||||
<sLrtime>0</sLrtime> |
||||
<nTsel>-1</nTsel> |
||||
<sDll></sDll> |
||||
<sDllPa></sDllPa> |
||||
<sDlgDll></sDlgDll> |
||||
<sDlgPa></sDlgPa> |
||||
<sIfile></sIfile> |
||||
<tDll></tDll> |
||||
<tDllPa></tDllPa> |
||||
<tDlgDll></tDlgDll> |
||||
<tDlgPa></tDlgPa> |
||||
<tIfile></tIfile> |
||||
<pMon></pMon> |
||||
</DebugOpt> |
||||
<Breakpoint/> |
||||
<Tracepoint> |
||||
<THDelay>0</THDelay> |
||||
</Tracepoint> |
||||
<DebugFlag> |
||||
<trace>0</trace> |
||||
<periodic>0</periodic> |
||||
<aLwin>0</aLwin> |
||||
<aCover>0</aCover> |
||||
<aSer1>0</aSer1> |
||||
<aSer2>0</aSer2> |
||||
<aPa>0</aPa> |
||||
<viewmode>0</viewmode> |
||||
<vrSel>0</vrSel> |
||||
<aSym>0</aSym> |
||||
<aTbox>0</aTbox> |
||||
<AscS1>0</AscS1> |
||||
<AscS2>0</AscS2> |
||||
<AscS3>0</AscS3> |
||||
<aSer3>0</aSer3> |
||||
<eProf>0</eProf> |
||||
<aLa>0</aLa> |
||||
<aPa1>0</aPa1> |
||||
<AscS4>0</AscS4> |
||||
<aSer4>0</aSer4> |
||||
<StkLoc>0</StkLoc> |
||||
<TrcWin>0</TrcWin> |
||||
<newCpu>0</newCpu> |
||||
<uProt>0</uProt> |
||||
</DebugFlag> |
||||
<LintExecutable></LintExecutable> |
||||
<LintConfigFile></LintConfigFile> |
||||
</TargetOption> |
||||
</Target> |
||||
|
||||
<Group> |
||||
<GroupName>Source Group 1</GroupName> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<cbSel>0</cbSel> |
||||
<RteFlg>0</RteFlg> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>1</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>0</tvExp> |
||||
<Focus>0</Focus> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\main.c</PathWithFileName> |
||||
<FilenameWithoutPath>main.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>2</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>0</tvExp> |
||||
<Focus>0</Focus> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\i2c.c</PathWithFileName> |
||||
<FilenameWithoutPath>i2c.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
</Group> |
||||
|
||||
</ProjectOpt> |
Loading…
Reference in new issue