diff --git a/IRIN.LST b/IRIN.LST index 2b50980..eb1dc5f 100644 --- a/IRIN.LST +++ b/IRIN.LST @@ -1,4 +1,4 @@ -C51 COMPILER V9.56.0.0 IRIN 04/06/2022 21:56:10 PAGE 1 +C51 COMPILER V9.56.0.0 IRIN 04/06/2022 23:56:38 PAGE 1 C51 COMPILER V9.56.0.0, COMPILATION OF MODULE IRIN @@ -47,186 +47,180 @@ line level source 38 39 void IRIN_Init(void) 40 { - 41 1 TMOD=0x01;//定时器1工作方式1 + 41 1 TMOD=0x01 | 0x20 ;//定时器1工作方式1 42 1 TH0=0x3C; 43 1 TL0=0xb0; 44 1 ET0=1; - 45 1 TH1=0XFc; - 46 1 TL1=0X18; - 47 1 ET1=1; - 48 1 TR1=1; - 49 1 TR0=1; - 50 1 EA=1; - 51 1 EX1=1; - 52 1 IT1=1; - 53 1 - 54 1 } - 55 -C51 COMPILER V9.56.0.0 IRIN 04/06/2022 21:56:10 PAGE 2 + 45 1 TR0=1; + 46 1 EA=1; + 47 1 EX1=1; + 48 1 IT1=1; + 49 1 } + 50 + 51 void display() + 52 { + 53 1 if(state==0) + 54 1 { + 55 2 sudu=At24c02Read(10); +C51 COMPILER V9.56.0.0 IRIN 04/06/2022 23:56:38 PAGE 2 - 56 void display() - 57 { - 58 1 if(state==0) - 59 1 { - 60 2 sudu=At24c02Read(10); - 61 2 if(money>7) - 62 2 { - 63 3 money=At24c02Read(5); - 64 3 } - 65 2 LcdSetCursor(0,0); - 66 2 LcdShowStr(0,0,"Speed:"); - 67 2 Lcd1602_Write_Data(0x30+sudu/100%10); - 68 2 Lcd1602_Write_Data(0x30+sudu/10%10); - 69 2 Lcd1602_Write_Data(0x30+sudu%10); - 70 2 LcdShowStr(10,0,"KM/h"); - 71 2 - 72 2 LcdShowStr(0,1,"L:"); - 73 2 Lcd1602_Write_Data(journey/10000%10+0x30); - 74 2 Lcd1602_Write_Data(journey/1000%10+0x30); - 75 2 Lcd1602_Write_Data(journey/100%10+0x30); - 76 2 Lcd1602_Write_Data(journey/10%10+0x30); - 77 2 Lcd1602_Write_Data(journey%10+0x30); - 78 2 LcdShowStr(7,1,"M"); - 79 2 - 80 2 if(journey>1000) - 81 2 { - 82 3 money=(journey-1000)*0.002+7; - 83 3 At24c02Write(5,money); - 84 3 } - 85 2 money=money*10; - 86 2 LcdShowStr(9,1,"Q:"); - 87 2 Lcd1602_Write_Data(money/1000%10+0x30); - 88 2 Lcd1602_Write_Data(money/100%10+0x30); - 89 2 Lcd1602_Write_Data(money/10%10+0x30); - 90 2 LcdShowStr(14,1,"."); - 91 2 Lcd1602_Write_Data(money%10+0x30); - 92 2 - 93 2 money=money/10; - 94 2 - 95 2 - 96 2 } - 97 1 } - 98 - 99 - 100 - 101 void keypros() - 102 { - 103 1 if(k2==0) - 104 1 { - 105 2 delay11(1000); //消抖处理 - 106 2 if(k2==0) - 107 2 { - 108 3 sudu=At24c02Read(10); //读取EEPROM地址1内的数据 + 56 2 if(money>7) + 57 2 { + 58 3 money=At24c02Read(5); + 59 3 } + 60 2 LcdSetCursor(0,0); + 61 2 LcdShowStr(0,0,"Speed:"); + 62 2 Lcd1602_Write_Data(0x30+sudu/100%10); + 63 2 Lcd1602_Write_Data(0x30+sudu/10%10); + 64 2 Lcd1602_Write_Data(0x30+sudu%10); + 65 2 LcdShowStr(10,0,"KM/h"); + 66 2 + 67 2 LcdShowStr(0,1,"L:"); + 68 2 Lcd1602_Write_Data(journey/10000%10+0x30); + 69 2 Lcd1602_Write_Data(journey/1000%10+0x30); + 70 2 Lcd1602_Write_Data(journey/100%10+0x30); + 71 2 Lcd1602_Write_Data(journey/10%10+0x30); + 72 2 Lcd1602_Write_Data(journey%10+0x30); + 73 2 LcdShowStr(7,1,"M"); + 74 2 + 75 2 if(journey>1000) + 76 2 { + 77 3 money=(journey-1000)*0.002+7; + 78 3 At24c02Write(5,money); + 79 3 } + 80 2 money=money*10; + 81 2 LcdShowStr(9,1,"Q:"); + 82 2 Lcd1602_Write_Data(money/1000%10+0x30); + 83 2 Lcd1602_Write_Data(money/100%10+0x30); + 84 2 Lcd1602_Write_Data(money/10%10+0x30); + 85 2 LcdShowStr(14,1,"."); + 86 2 Lcd1602_Write_Data(money%10+0x30); + 87 2 + 88 2 money=money/10; + 89 2 + 90 2 } + 91 1 } + 92 + 93 + 94 + 95 void keypros() + 96 { + 97 1 if(k2==0) + 98 1 { + 99 2 delay11(1000); //消抖处理 + 100 2 if(k2==0) + 101 2 { + 102 3 sudu=At24c02Read(10); //读取EEPROM地址1内的数据 + 103 3 + 104 3 b2=At24c02Read(1); + 105 3 c2=At24c02Read(8); + 106 3 journey=(b2<<8) | c2; + 107 3 + 108 3 money=At24c02Read(5); 109 3 - 110 3 b2=At24c02Read(1); - 111 3 c2=At24c02Read(8); - 112 3 journey=(b2<<8) | c2; - 113 3 - 114 3 money=At24c02Read(5); - 115 3 - 116 3 } - 117 2 while(!k2); -C51 COMPILER V9.56.0.0 IRIN 04/06/2022 21:56:10 PAGE 3 + 110 3 } + 111 2 while(!k2); + 112 2 } + 113 1 + 114 1 if(k1==0) + 115 1 { + 116 2 delay11(1000); //消抖处理 + 117 2 if(k1==0) +C51 COMPILER V9.56.0.0 IRIN 04/06/2022 23:56:38 PAGE 3 - 118 2 } - 119 1 - 120 1 if(k1==0) - 121 1 { - 122 2 delay11(1000); //消抖处理 - 123 2 if(k1==0) - 124 2 { - 125 3 flas=1; - 126 3 - 127 3 } - 128 2 while(!k1); - 129 2 } - 130 1 if(k4==0) - 131 1 { - 132 2 delay11(1000); //消抖处理 - 133 2 if(k4==0) - 134 2 { - 135 3 if(pwm_left>=20) - 136 3 { - 137 4 pwm_left=1; - 138 4 } - 139 3 else - 140 3 { - 141 4 pwm_left++; - 142 4 } - 143 3 } - 144 2 while(!k4); - 145 2 } - 146 1 - 147 1 } - 148 - 149 void time0() interrupt 1 //定时器 0 - 150 { - 151 1 TH0=0x3C; - 152 1 TL0=0xb0; //50ms定时 - 153 1 ms++; //变量50ms加一 - 154 1 if(ms%5==0) s0=~s0; - 155 1 - 156 1 - 157 1 if(ms%10==0) //500ms定时 - 158 1 { - 159 2 - 160 2 if(sec!=0) sec--; - 161 2 if(sec1!=0) sec1--; - 162 2 ms=0; //清零变量 - 163 2 EX1=0; //关闭外部中断,保证变量在计算的时候不会增加 - 164 2 r_s=count; //因为是500ms检测一次转动数据,所以要想一秒转动的圈数是 speed=count*2 ,但是光栅是一圈2 + 118 2 { + 119 3 flas=1; + 120 3 + 121 3 } + 122 2 while(!k1); + 123 2 } + 124 1 if(k4==0) + 125 1 { + 126 2 delay11(1000); //消抖处理 + 127 2 if(k4==0) + 128 2 { + 129 3 if(pwm_left>=20) + 130 3 { + 131 4 pwm_left=1; + 132 4 } + 133 3 else + 134 3 { + 135 4 pwm_left++; + 136 4 } + 137 3 } + 138 2 while(!k4); + 139 2 } + 140 1 + 141 1 } + 142 + 143 void time0() interrupt 1 //定时器 0 + 144 { + 145 1 TH0=0x3C; + 146 1 TL0=0xb0; //50ms定时 + 147 1 ms++; //变量50ms加一 + 148 1 if(ms%5==0) s0=~s0; + 149 1 + 150 1 + 151 1 if(ms%10==0) //500ms定时 + 152 1 { + 153 2 + 154 2 if(sec!=0) sec--; + 155 2 if(sec1!=0) sec1--; + 156 2 ms=0; //清零变量 + 157 2 EX1=0; //关闭外部中断,保证变量在计算的时候不会增加 + 158 2 r_s=count; //因为是500ms检测一次转动数据,所以要想一秒转动的圈数是 speed=count*2 ,但是光栅是一圈2 -0格,所以还要除以20; - 165 2 //综合一下,一秒转动的圈数就是 speed=count*2/20 ==》 speed=counr/10; - 166 2 count=0; //清零变量 - 167 2 EX1=1; //打开外部中断 - 168 2 speed=speed*0.5+(r_s*6)*0.5; // 这里r_s是一秒走的圈数,然后乘以60得到60秒走的圈数,单位变成了 + 159 2 //综合一下,一秒转动的圈数就是 speed=count*2/20 ==》 speed=counr/10; + 160 2 count=0; //清零变量 + 161 2 EX1=1; //打开外部中断 + 162 2 speed=speed*0.5+(r_s*6)*0.5; // 这里r_s是一秒走的圈数,然后乘以60得到60秒走的圈数,单位变成了 - r/min; 总方式 speed=count/10*60; ==>> speed=count*6; - 169 2 - 170 2 if(flas==0) - 171 2 { - 172 3 sudu=(0.15*speed); - 173 3 At24c02Write(10,sudu); - 174 3 - 175 3 journey=journey+(r_s*2.5/20); - 176 3 journey1=journey; - 177 3 c = journey & 0x00FF; -C51 COMPILER V9.56.0.0 IRIN 04/06/2022 21:56:10 PAGE 4 + 163 2 + 164 2 if(flas==0) + 165 2 { + 166 3 sudu=(0.15*speed); + 167 3 At24c02Write(10,sudu); + 168 3 + 169 3 journey=journey+(r_s*2.5/20); + 170 3 journey1=journey; + 171 3 c = journey & 0x00FF; + 172 3 At24c02Write(8,c); + 173 3 + 174 3 delay11(1000); + 175 3 b=journey1>>8; + 176 3 At24c02Write(1,b); + 177 3 } +C51 COMPILER V9.56.0.0 IRIN 04/06/2022 23:56:38 PAGE 4 - 178 3 At24c02Write(8,c); - 179 3 - 180 3 delay11(1000); - 181 3 b=journey1>>8; - 182 3 At24c02Write(1,b); - 183 3 } - 184 2 else - 185 2 { - 186 3 journey=0; - 187 3 money=7; - 188 3 At24c02Write(1,journey); - 189 3 At24c02Write(8,journey); - 190 3 At24c02Write(5,money); - 191 3 flas=0; - 192 3 } - 193 2 } - 194 1 } - 195 - 196 void int1() interrupt 2 //外部中断 1 - 197 { - 198 1 - 199 1 count++; //中断每触发一次,变量加一 - 200 1 - 201 1 } - 202 - 203 - 204 - 205 - 206 - 207 - 208 + 178 2 else + 179 2 { + 180 3 journey=0; + 181 3 money=7; + 182 3 At24c02Write(1,journey); + 183 3 At24c02Write(8,journey); + 184 3 At24c02Write(5,money); + 185 3 flas=0; + 186 3 } + 187 2 } + 188 1 } + 189 + 190 void int1() interrupt 2 //外部中断 1 + 191 { + 192 1 + 193 1 count++; //中断每触发一次,变量加一 + 194 1 + 195 1 } + 196 + 197 + 198 + 199 + 200 + 201 + 202 MODULE INFORMATION: STATIC OVERLAYABLE - CODE SIZE = 1016 ---- + CODE SIZE = 1006 ---- CONSTANT SIZE = 22 ---- XDATA SIZE = ---- ---- PDATA SIZE = ---- ---- diff --git a/IRIN.OBJ b/IRIN.OBJ index e77bc6e..40129b8 100644 Binary files a/IRIN.OBJ and b/IRIN.OBJ differ diff --git a/IRIN.__i b/IRIN.__i new file mode 100644 index 0000000..32b7393 --- /dev/null +++ b/IRIN.__i @@ -0,0 +1 @@ +"IRIN.c" OPTIMIZE (8,SPEED) BROWSE DEBUG OBJECTEXTEND TABS (2) \ No newline at end of file diff --git a/IRIN.c b/IRIN.c index 6ca0533..cbe9c07 100644 --- a/IRIN.c +++ b/IRIN.c @@ -38,19 +38,14 @@ void delay11(int i) void IRIN_Init(void) { - TMOD=0x01;//定时器1工作方式1 + TMOD=0x01 | 0x20 ;//定时器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() @@ -79,7 +74,7 @@ void display() if(journey>1000) { - money=(journey-1000)*0.002+7; + money=(journey-1000)*0.002+7; At24c02Write(5,money); } money=money*10; @@ -92,7 +87,6 @@ void display() money=money/10; - } } @@ -169,26 +163,26 @@ void display() 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); + sudu=(0.15*speed); + At24c02Write(10,sudu); - delay11(1000); - b=journey1>>8; - At24c02Write(1,b); + 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; + journey=0; + money=7; + At24c02Write(1,journey); + At24c02Write(8,journey); + At24c02Write(5,money); + flas=0; } } } diff --git a/README.md b/README.md new file mode 100644 index 0000000..6f348bf --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +## 鏅鸿兘鑷杞 + +*** + +椤圭洰閲囩敤stc89c51浣滀负涓绘帶锛岄┍鍔ㄥ寘鎷琇CD1602銆丄T24C02銆佺孩澶栨祴璇曟ā鍧椼佽摑鐗橦C-05 + diff --git a/i2c.LST b/i2c.LST index 268d59c..4ac1725 100644 --- a/i2c.LST +++ b/i2c.LST @@ -1,4 +1,4 @@ -C51 COMPILER V9.56.0.0 I2C 04/06/2022 21:56:10 PAGE 1 +C51 COMPILER V9.56.0.0 I2C 04/06/2022 22:40:09 PAGE 1 C51 COMPILER V9.56.0.0, COMPILATION OF MODULE I2C @@ -62,7 +62,7 @@ line level source 53 /******************************************************************************* 54 * 函数名 : I2cSendByte(unsigned char dat) 55 * 函数功能 : 通过I2C发送一个字节。在SCL时钟信号高电平期间,保持发送信号SDA保持稳定 -C51 COMPILER V9.56.0.0 I2C 04/06/2022 21:56:10 PAGE 2 +C51 COMPILER V9.56.0.0 I2C 04/06/2022 22:40:09 PAGE 2 56 * 输入 : num 57 * 输出 : 0或1。发送成功返回1,发送失败返回0 @@ -126,7 +126,7 @@ line level source 115 1 } 116 117 -C51 COMPILER V9.56.0.0 I2C 04/06/2022 21:56:10 PAGE 3 +C51 COMPILER V9.56.0.0 I2C 04/06/2022 22:40:09 PAGE 3 118 /******************************************************************************* 119 * 函数名 : void At24c02Write(unsigned char addr,unsigned char dat) diff --git a/i2c.OBJ b/i2c.OBJ index 9482c05..7d34f9d 100644 Binary files a/i2c.OBJ and b/i2c.OBJ differ diff --git a/i2c.__i b/i2c.__i new file mode 100644 index 0000000..530c89e --- /dev/null +++ b/i2c.__i @@ -0,0 +1 @@ +"i2c.c" OPTIMIZE (8,SPEED) BROWSE DEBUG OBJECTEXTEND TABS (2) \ No newline at end of file diff --git a/lcd.LST b/lcd.LST index 4dec397..553683e 100644 --- a/lcd.LST +++ b/lcd.LST @@ -1,4 +1,4 @@ -C51 COMPILER V9.56.0.0 LCD 04/06/2022 21:56:10 PAGE 1 +C51 COMPILER V9.56.0.0 LCD 04/06/2022 22:23:01 PAGE 1 C51 COMPILER V9.56.0.0, COMPILATION OF MODULE LCD @@ -62,7 +62,7 @@ line level source 53 1 X &= 0xF; //限制X不能大于15,Y不能大于1 54 1 if (Y) X |= 0x40; //当要显示第二行时地址码+0x40; 55 1 X |= 0x80; //算出指令码 -C51 COMPILER V9.56.0.0 LCD 04/06/2022 21:56:10 PAGE 2 +C51 COMPILER V9.56.0.0 LCD 04/06/2022 22:23:01 PAGE 2 56 1 Lcd1602_Write_Cmd(X); //发命令字 57 1 Lcd1602_Write_Data(DData); //发数据 diff --git a/lcd.OBJ b/lcd.OBJ index 6180d9a..4bded29 100644 Binary files a/lcd.OBJ and b/lcd.OBJ differ diff --git a/lcd.h b/lcd.h index 051c811..acb4ad2 100644 --- a/lcd.h +++ b/lcd.h @@ -31,9 +31,9 @@ PIN #define LCD1602_DB P2 //data bus 数据总线 -sbit LCD1602_RS=P1^6; -sbit LCD1602_RW=P1^5; -sbit LCD1602_EN=P1^4; +sbit LCD1602_RS=P0^7; +sbit LCD1602_RW=P0^6; +sbit LCD1602_EN=P0^5; /********************************** 函数声明 diff --git a/main.LST b/main.LST index a08f1c2..7856a53 100644 --- a/main.LST +++ b/main.LST @@ -1,4 +1,4 @@ -C51 COMPILER V9.56.0.0 MAIN 04/06/2022 21:56:09 PAGE 1 +C51 COMPILER V9.56.0.0 MAIN 04/06/2022 23:54:42 PAGE 1 C51 COMPILER V9.56.0.0, COMPILATION OF MODULE MAIN @@ -22,57 +22,127 @@ line level source 13 unsigned int c12; 14 15 - 16 - 17 unsigned int b123; - 18 unsigned int c123; - 19 extern unsigned char pwm_left; - 20 unsigned char code ASCII[15] = {'0','1','2','3','4','5','6','7','8','9','.','-','M'}; - 21 - 22 void delayms(unsigned int ms) - 23 { - 24 1 unsigned char i=100,j; - 25 1 for(;ms;ms--) - 26 1 { - 27 2 while(--i) - 28 2 { - 29 3 j=10; - 30 3 while(--j); - 31 3 } - 32 2 } - 33 1 } - 34 - 35 void main(void) - 36 { + 16 unsigned int b123; + 17 unsigned int c123; + 18 extern unsigned char pwm_left; + 19 unsigned char code ASCII[15] = {'0','1','2','3','4','5','6','7','8','9','.','-','M'}; + 20 + 21 void delayms(unsigned int ms) + 22 { + 23 1 unsigned char i=100,j; + 24 1 for(;ms;ms--) + 25 1 { + 26 2 while(--i) + 27 2 { + 28 3 j=10; + 29 3 while(--j); + 30 3 } + 31 2 } + 32 1 } + 33 + 34 void Uart_Init() //使用定时器1作为波特率发生器(STC89C52、STC89C51、AT89C51 + -等均可) + 35 { + 36 1 TMOD = 0x20 | 0x01; 37 1 - 38 1 InitLcd1602(); - 39 1 IRIN_Init(); - 40 1 pwm_left=10; - 41 1 b12=At24c02Read(1); - 42 1 c12=At24c02Read(8); - 43 1 - 44 1 money=At24c02Read(5); - 45 1 journey = (b12<<8)|c12; - 46 1 while(1) - 47 1 { - 48 2 run(); - 49 2 display(); - 50 2 keypros(); - 51 2 } - 52 1 - 53 1 } + 38 1 SCON = 0x50; //设置串行方式 + 39 1 + 40 1 TH1 = 0xFD; //波特率9600 + 41 1 + 42 1 TL1 = TH1; + 43 1 + 44 1 PCON = 0x00; + 45 1 + 46 1 EA = 1; //总中断打开 + 47 1 + 48 1 ES = 1; //开串口中断 + 49 1 + 50 1 TR1 = 1; //启动定时器1 + 51 1 + 52 1 } + 53 + 54 void us_delay(uchar t) +C51 COMPILER V9.56.0.0 MAIN 04/06/2022 23:54:42 PAGE 2 + 55 + 56 { + 57 1 + 58 1 while(t--); + 59 1 + 60 1 } + 61 + 62 void Send_Uart(uchar value) + 63 + 64 { + 65 1 + 66 1 ES=0; //关闭串口中断 + 67 1 + 68 1 TI=0; //清发送完毕中断请求标志位 + 69 1 + 70 1 SBUF=value; //发送 + 71 1 + 72 1 while(TI==0); //等待发送完毕 + 73 1 + 74 1 TI=0; //清发送完毕中断请求标志位 + 75 1 + 76 1 ES=1; //允许串口中断 + 77 1 + 78 1 } + 79 + 80 void ESP8266_Set(uchar *puf) // 数组指针*puf指向字符串数组 + 81 + 82 { + 83 1 + 84 1 while(*puf!='\0') //遇到空格跳出循环 + 85 1 + 86 1 { + 87 2 + 88 2 Send_Uart(*puf); //向WIFI模块发送控制指令。 + 89 2 + 90 2 us_delay(5); + 91 2 + 92 2 puf++; + 93 2 + 94 2 } + 95 1 + 96 1 } + 97 + 98 void main(void) + 99 { + 100 1 int i = 0; + 101 1 InitLcd1602(); + 102 1 IRIN_Init(); + 103 1 Uart_Init(); + 104 1 pwm_left=10; + 105 1 b12=At24c02Read(1); + 106 1 c12=At24c02Read(8); + 107 1 money = 120; + 108 1 money=At24c02Read(5); + 109 1 journey = (b12<<8)|c12; + 110 1 + 111 1 while(1) + 112 1 { + 113 2 run(); + 114 2 ESP8266_Set("1111\r\n"); + 115 2 display(); + 116 2 keypros(); +C51 COMPILER V9.56.0.0 MAIN 04/06/2022 23:54:42 PAGE 3 + + 117 2 Delay10us(); +*** WARNING C206 IN LINE 117 OF main.c: 'Delay10us': missing function-prototype + 118 2 } + 119 1 } -C51 COMPILER V9.56.0.0 MAIN 04/06/2022 21:56:09 PAGE 2 MODULE INFORMATION: STATIC OVERLAYABLE - CODE SIZE = 86 ---- - CONSTANT SIZE = 15 ---- + CODE SIZE = 179 ---- + CONSTANT SIZE = 22 ---- XDATA SIZE = ---- ---- PDATA SIZE = ---- ---- - DATA SIZE = 25 ---- + DATA SIZE = 25 2 IDATA SIZE = ---- ---- BIT SIZE = ---- ---- END OF MODULE INFORMATION. -C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S) +C51 COMPILATION COMPLETE. 1 WARNING(S), 0 ERROR(S) diff --git a/main.OBJ b/main.OBJ index 6e8105a..37bddce 100644 Binary files a/main.OBJ and b/main.OBJ differ diff --git a/main.c b/main.c index 90a8424..75f8b5e 100644 --- a/main.c +++ b/main.c @@ -13,7 +13,6 @@ unsigned int b12; unsigned int c12; - unsigned int b123; unsigned int c123; extern unsigned char pwm_left; @@ -32,22 +31,89 @@ void delayms(unsigned int ms) } } +void Uart_Init() //使用定时器1作为波特率发生器(STC89C52、STC89C51、AT89C51等均可) +{ + TMOD = 0x20 | 0x01; + + SCON = 0x50; //设置串行方式 + + TH1 = 0xFD; //波特率9600 + + TL1 = TH1; + + PCON = 0x00; + + EA = 1; //总中断打开 + + ES = 1; //开串口中断 + + TR1 = 1; //启动定时器1 + +} + +void us_delay(uchar t) + +{ + + while(t--); + +} + +void Send_Uart(uchar value) + +{ + + ES=0; //关闭串口中断 + + TI=0; //清发送完毕中断请求标志位 + + SBUF=value; //发送 + + while(TI==0); //等待发送完毕 + + TI=0; //清发送完毕中断请求标志位 + + ES=1; //允许串口中断 + +} + +void ESP8266_Set(uchar *puf) // 数组指针*puf指向字符串数组 + +{ + + while(*puf!='\0') //遇到空格跳出循环 + + { + + Send_Uart(*puf); //向WIFI模块发送控制指令。 + + us_delay(5); + + puf++; + + } + +} + void main(void) { - + int i = 0; InitLcd1602(); IRIN_Init(); + Uart_Init(); pwm_left=10; b12=At24c02Read(1); c12=At24c02Read(8); - + money = 120; money=At24c02Read(5); journey = (b12<<8)|c12; + while(1) { - run(); - display(); - keypros(); + run(); + ESP8266_Set("1111\r\n"); + display(); + keypros(); + Delay10us(); } - } \ No newline at end of file diff --git a/pro b/pro index 00db3fa..ff04325 100644 Binary files a/pro and b/pro differ diff --git a/pro.M51 b/pro.M51 index 9710bf8..3d3f809 100644 --- a/pro.M51 +++ b/pro.M51 @@ -1,4 +1,4 @@ -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 1 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 1 BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY: @@ -37,8 +37,8 @@ LINK MAP OF MODULE: pro (MAIN) * * * * * * * D A T A M E M O R Y * * * * * * * REG 0000H 0008H ABSOLUTE "REG BANK 0" DATA 0008H 0007H UNIT ?DT?PWM - DATA 000FH 0003H UNIT _DATA_GROUP_ - 0012H 000EH *** GAP *** + DATA 000FH 0005H UNIT _DATA_GROUP_ + 0014H 000CH *** GAP *** BIT 0020H.0 0000H.3 UNIT ?BI?IRIN BIT 0020H.3 0000H.2 UNIT ?BI?PWM 0020H.5 0000H.3 *** GAP *** @@ -48,7 +48,8 @@ LINK MAP OF MODULE: pro (MAIN) * * * * * * * C O D E M E M O R Y * * * * * * * CODE 0000H 0003H ABSOLUTE - 0003H 0008H *** GAP *** + CODE 0003H 0007H UNIT ?PR?_US_DELAY?MAIN + 000AH 0001H *** GAP *** CODE 000BH 0003H ABSOLUTE 000EH 0005H *** GAP *** CODE 0013H 0003H ABSOLUTE @@ -58,40 +59,43 @@ LINK MAP OF MODULE: pro (MAIN) CODE 0409H 01EAH UNIT ?PR?DISPLAY?IRIN CODE 05F3H 016DH UNIT ?PR?TIME0?IRIN CODE 0760H 008CH UNIT ?C_C51STARTUP +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 2 + + CODE 07ECH 0067H UNIT ?PR?KEYPROS?IRIN -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 2 - - - CODE 0853H 004EH UNIT ?C_INITSEG - CODE 08A1H 0041H UNIT ?PR?_I2CSENDBYTE?I2C - CODE 08E2H 003CH UNIT ?PR?MAIN?MAIN - CODE 091EH 0028H UNIT ?PR?_LCDSHOWSTR?LCD - CODE 0946H 0026H UNIT ?PR?I2CREADBYTE?I2C - CODE 096CH 0022H UNIT ?PR?_AT24C02READ?I2C - CODE 098EH 0020H UNIT ?PR?_DELAY?PWM - CODE 09AEH 001EH UNIT ?PR?PWM_OUT_LEFT_MOTO?PWM - CODE 09CCH 001EH UNIT ?PR?PWM_OUT_RIGHT_MOTO?PWM - CODE 09EAH 001EH UNIT ?PR?IRIN_INIT?IRIN - CODE 0A08H 001DH UNIT ?PR?_DISPLAYONECHAR?LCD - CODE 0A25H 001CH UNIT ?PR?TIMER1?PWM - CODE 0A41H 001AH UNIT ?PR?_DELAYMS?MAIN - CODE 0A5BH 0019H UNIT ?PR?_AT24C02WRITE?I2C - CODE 0A74H 0016H UNIT ?CO?IRIN - CODE 0A8AH 0014H UNIT ?PR?INITLCD1602?LCD - CODE 0A9EH 0012H UNIT ?PR?READ_BUSY?LCD - CODE 0AB0H 0012H UNIT ?PR?_LCDSETCURSOR?LCD - CODE 0AC2H 0010H UNIT ?PR?_LCD1602_WRITE_CMD?LCD - CODE 0AD2H 0010H UNIT ?PR?_LCD1602_WRITE_DATA?LCD - CODE 0AE2H 000FH UNIT ?CO?MAIN - CODE 0AF1H 000FH UNIT ?PR?RUN?PWM - CODE 0B00H 000FH UNIT ?PR?BACKRUN?PWM - CODE 0B0FH 000FH UNIT ?PR?I2CSTART?I2C - CODE 0B1EH 000FH UNIT ?PR?_DELAY11?IRIN - CODE 0B2DH 000EH UNIT ?PR?DELAY10US?I2C - CODE 0B3BH 000DH UNIT ?PR?INT1?IRIN - CODE 0B48H 000BH UNIT ?PR?LEFTRUN?PWM - CODE 0B53H 000BH UNIT ?PR?RIGHTRUN?PWM - CODE 0B5EH 000AH UNIT ?PR?I2CSTOP?I2C + CODE 0853H 0056H UNIT ?PR?MAIN?MAIN + CODE 08A9H 004EH UNIT ?C_INITSEG + CODE 08F7H 0041H UNIT ?PR?_I2CSENDBYTE?I2C + CODE 0938H 0028H UNIT ?PR?_LCDSHOWSTR?LCD + CODE 0960H 0026H UNIT ?PR?I2CREADBYTE?I2C + CODE 0986H 0022H UNIT ?PR?_AT24C02READ?I2C + CODE 09A8H 0020H UNIT ?PR?_DELAY?PWM + CODE 09C8H 001EH UNIT ?PR?PWM_OUT_LEFT_MOTO?PWM + CODE 09E6H 001EH UNIT ?PR?PWM_OUT_RIGHT_MOTO?PWM + CODE 0A04H 001DH UNIT ?PR?_DISPLAYONECHAR?LCD + CODE 0A21H 001CH UNIT ?PR?TIMER1?PWM + CODE 0A3DH 001AH UNIT ?PR?_DELAYMS?MAIN + CODE 0A57H 0019H UNIT ?PR?_AT24C02WRITE?I2C + CODE 0A70H 0018H UNIT ?PR?_ESP8266_SET?MAIN + CODE 0A88H 0016H UNIT ?PR?UART_INIT?MAIN + CODE 0A9EH 0016H UNIT ?CO?MAIN + CODE 0AB4H 0016H UNIT ?CO?IRIN + CODE 0ACAH 0014H UNIT ?PR?INITLCD1602?LCD + CODE 0ADEH 0014H UNIT ?PR?IRIN_INIT?IRIN + CODE 0AF2H 0012H UNIT ?PR?READ_BUSY?LCD + CODE 0B04H 0012H UNIT ?PR?_LCDSETCURSOR?LCD + CODE 0B16H 0010H UNIT ?PR?_LCD1602_WRITE_CMD?LCD + CODE 0B26H 0010H UNIT ?PR?_LCD1602_WRITE_DATA?LCD + CODE 0B36H 000FH UNIT ?PR?RUN?PWM + CODE 0B45H 000FH UNIT ?PR?BACKRUN?PWM + CODE 0B54H 000FH UNIT ?PR?I2CSTART?I2C + CODE 0B63H 000FH UNIT ?PR?_DELAY11?IRIN + CODE 0B72H 000EH UNIT ?PR?_SEND_UART?MAIN + CODE 0B80H 000EH UNIT ?PR?DELAY10US?I2C + CODE 0B8EH 000DH UNIT ?PR?INT1?IRIN + CODE 0B9BH 000BH UNIT ?PR?LEFTRUN?PWM + CODE 0BA6H 000BH UNIT ?PR?RIGHTRUN?PWM + CODE 0BB1H 000AH UNIT ?PR?I2CSTOP?I2C @@ -115,13 +119,13 @@ SEGMENT DATA_GROUP +--> ?PR?_I2CSENDBYTE?I2C +--> ?PR?I2CSTOP?I2C +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 3 + + ?PR?I2CSTART?I2C ----- ----- +--> ?PR?DELAY10US?I2C ?PR?_I2CSENDBYTE?I2C ----- ----- -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 3 - - +--> ?PR?DELAY10US?I2C ?PR?I2CSTOP?I2C ----- ----- @@ -133,13 +137,17 @@ SEGMENT DATA_GROUP +--> ?PR?MAIN?MAIN +--> ?C_INITSEG -?PR?MAIN?MAIN ----- ----- +?PR?MAIN?MAIN 000FH 0002H +--> ?PR?INITLCD1602?LCD +--> ?PR?IRIN_INIT?IRIN + +--> ?PR?UART_INIT?MAIN +--> ?PR?_AT24C02READ?I2C +--> ?PR?RUN?PWM + +--> ?CO?MAIN + +--> ?PR?_ESP8266_SET?MAIN +--> ?PR?DISPLAY?IRIN +--> ?PR?KEYPROS?IRIN + +--> ?PR?DELAY10US?I2C ?PR?INITLCD1602?LCD ----- ----- +--> ?PR?_LCD1602_WRITE_CMD?LCD @@ -156,6 +164,10 @@ SEGMENT DATA_GROUP ?PR?I2CREADBYTE?I2C ----- ----- +--> ?PR?DELAY10US?I2C +?PR?_ESP8266_SET?MAIN ----- ----- + +--> ?PR?_SEND_UART?MAIN + +--> ?PR?_US_DELAY?MAIN + ?PR?DISPLAY?IRIN ----- ----- +--> ?PR?_AT24C02READ?I2C +--> ?PR?_LCDSETCURSOR?LCD @@ -167,7 +179,10 @@ SEGMENT DATA_GROUP ?PR?_LCDSETCURSOR?LCD ----- ----- +--> ?PR?_LCD1602_WRITE_CMD?LCD -?PR?_LCDSHOWSTR?LCD 000FH 0003H +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 4 + + +?PR?_LCDSHOWSTR?LCD 0011H 0003H +--> ?PR?_LCDSETCURSOR?LCD +--> ?PR?_LCD1602_WRITE_DATA?LCD @@ -179,9 +194,6 @@ SEGMENT DATA_GROUP +--> ?PR?_AT24C02READ?I2C -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 4 - - SYMBOL TABLE OF MODULE: pro (MAIN) @@ -191,14 +203,27 @@ SYMBOL TABLE OF MODULE: pro (MAIN) ------- MODULE MAIN C:0000H SYMBOL _ICE_DUMMY_ D:0080H PUBLIC P0 - D:0090H PUBLIC P1 D:00B0H PUBLIC P3 + B:00A8H.7 PUBLIC EA D:0021H PUBLIC PuZh - C:08E2H PUBLIC main + C:0B72H PUBLIC _Send_Uart + C:0A88H PUBLIC Uart_Init + B:00A8H.4 PUBLIC ES + B:0098H.1 PUBLIC TI + C:0853H PUBLIC main + D:0099H PUBLIC SBUF + D:0087H PUBLIC PCON + D:0098H PUBLIC SCON + D:0089H PUBLIC TMOD D:0032H PUBLIC b12 D:0034H PUBLIC c12 - C:0AE2H PUBLIC ASCII - C:0A41H PUBLIC _delayms + D:008DH PUBLIC TH1 + C:0A70H PUBLIC _ESP8266_Set + D:008BH PUBLIC TL1 + B:0088H.6 PUBLIC TR1 + C:0003H PUBLIC _us_delay + C:0AA5H PUBLIC ASCII + C:0A3DH PUBLIC _delayms D:0036H PUBLIC b123 D:0038H PUBLIC c123 ------- PROC _DELAYMS @@ -207,177 +232,231 @@ SYMBOL TABLE OF MODULE: pro (MAIN) D:0004H SYMBOL i D:0005H SYMBOL j ------- ENDDO - C:0A41H LINE# 22 - C:0A41H LINE# 23 - C:0A41H LINE# 24 + C:0A3DH LINE# 21 + C:0A3DH LINE# 22 + C:0A3DH LINE# 23 + C:0A3FH LINE# 24 C:0A43H LINE# 25 - C:0A47H LINE# 26 + C:0A43H LINE# 26 C:0A47H LINE# 27 - C:0A4BH LINE# 28 - C:0A4BH LINE# 29 - C:0A4DH LINE# 30 - C:0A53H LINE# 32 - C:0A5AH LINE# 33 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 5 + + + C:0A47H LINE# 28 + C:0A49H LINE# 29 + C:0A4FH LINE# 31 + C:0A56H LINE# 32 ------- ENDPROC _DELAYMS + ------- PROC UART_INIT + C:0A88H LINE# 34 + C:0A88H LINE# 35 + C:0A88H LINE# 36 + C:0A8BH LINE# 38 + C:0A8EH LINE# 40 + C:0A91H LINE# 42 + C:0A94H LINE# 44 + C:0A97H LINE# 46 + C:0A99H LINE# 48 + C:0A9BH LINE# 50 + C:0A9DH LINE# 52 + ------- ENDPROC UART_INIT + ------- PROC _US_DELAY + D:0007H SYMBOL t + C:0003H LINE# 54 + C:0003H LINE# 56 + C:0003H LINE# 58 + C:0009H LINE# 60 + ------- ENDPROC _US_DELAY + ------- PROC _SEND_UART + D:0007H SYMBOL value + C:0B72H LINE# 62 + C:0B72H LINE# 64 + C:0B72H LINE# 66 + C:0B74H LINE# 68 + C:0B76H LINE# 70 + C:0B78H LINE# 72 + C:0B7BH LINE# 74 + C:0B7DH LINE# 76 + C:0B7FH LINE# 78 + ------- ENDPROC _SEND_UART + ------- PROC _ESP8266_SET + D:0001H SYMBOL puf + C:0A70H LINE# 80 + C:0A70H LINE# 82 + C:0A70H LINE# 84 + C:0A76H LINE# 86 + C:0A76H LINE# 88 + C:0A79H LINE# 90 + C:0A7EH LINE# 92 + C:0A85H LINE# 94 + C:0A87H LINE# 96 + ------- ENDPROC _ESP8266_SET ------- PROC MAIN - C:08E2H LINE# 35 - C:08E2H LINE# 36 - C:08E2H LINE# 38 - C:08E5H LINE# 39 - C:08E8H LINE# 40 - C:08EBH LINE# 41 - C:08F5H LINE# 42 - C:08FFH LINE# 44 - C:0909H LINE# 45 - C:0913H LINE# 46 - C:0913H LINE# 47 - C:0913H LINE# 48 - C:0916H LINE# 49 - C:0919H LINE# 50 - C:091CH LINE# 51 + ------- DO + D:000FH SYMBOL i + ------- ENDDO + C:0853H LINE# 98 + C:0853H LINE# 99 + C:0853H LINE# 100 + C:0858H LINE# 101 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 6 + + + C:085BH LINE# 102 + C:085EH LINE# 103 + C:0861H LINE# 104 + C:0864H LINE# 105 + C:086EH LINE# 106 + C:0878H LINE# 107 + C:087EH LINE# 108 + C:0888H LINE# 109 + C:0892H LINE# 111 + C:0892H LINE# 112 + C:0892H LINE# 113 + C:0895H LINE# 114 + C:089EH LINE# 115 + C:08A1H LINE# 116 + C:08A4H LINE# 117 + C:08A7H LINE# 118 ------- ENDPROC MAIN ------- ENDMOD MAIN ------- MODULE LCD -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 5 - - C:0000H SYMBOL _ICE_DUMMY_ - C:0A08H PUBLIC _DisplayOneChar - D:0090H PUBLIC P1 + C:0A04H PUBLIC _DisplayOneChar + D:0080H PUBLIC P0 D:00A0H PUBLIC P2 - C:0A9EH PUBLIC Read_Busy - B:0090H.4 PUBLIC LCD1602_EN - B:0090H.6 PUBLIC LCD1602_RS - B:0090H.5 PUBLIC LCD1602_RW - C:0AD2H PUBLIC _Lcd1602_Write_Data - C:0AC2H PUBLIC _Lcd1602_Write_Cmd - C:0AB0H PUBLIC _LcdSetCursor - C:091EH PUBLIC _LcdShowStr - C:0A8AH PUBLIC InitLcd1602 + C:0AF2H PUBLIC Read_Busy + B:0080H.5 PUBLIC LCD1602_EN + B:0080H.7 PUBLIC LCD1602_RS + B:0080H.6 PUBLIC LCD1602_RW + C:0B26H PUBLIC _Lcd1602_Write_Data + C:0B16H PUBLIC _Lcd1602_Write_Cmd + C:0B04H PUBLIC _LcdSetCursor + C:0938H PUBLIC _LcdShowStr + C:0ACAH PUBLIC InitLcd1602 ------- PROC READ_BUSY ------- DO D:0007H SYMBOL sta ------- ENDDO - C:0A9EH LINE# 4 - C:0A9EH LINE# 5 - C:0A9EH LINE# 7 - C:0AA1H LINE# 8 - C:0AA3H LINE# 9 - C:0AA5H LINE# 11 - C:0AA5H LINE# 12 - C:0AA7H LINE# 13 - C:0AA9H LINE# 14 - C:0AABH LINE# 15 - C:0AAFH LINE# 16 + C:0AF2H LINE# 4 + C:0AF2H LINE# 5 + C:0AF2H LINE# 7 + C:0AF5H LINE# 8 + C:0AF7H LINE# 9 + C:0AF9H LINE# 11 + C:0AF9H LINE# 12 + C:0AFBH LINE# 13 + C:0AFDH LINE# 14 + C:0AFFH LINE# 15 + C:0B03H LINE# 16 ------- ENDPROC READ_BUSY ------- PROC _LCD1602_WRITE_CMD D:0006H SYMBOL cmd - C:0AC2H LINE# 18 - C:0AC4H LINE# 19 - C:0AC4H LINE# 20 - C:0AC7H LINE# 21 - C:0AC9H LINE# 22 - C:0ACBH LINE# 23 - C:0ACDH LINE# 24 - C:0ACFH LINE# 25 - C:0AD1H LINE# 26 + C:0B16H LINE# 18 + C:0B18H LINE# 19 + C:0B18H LINE# 20 + C:0B1BH LINE# 21 + C:0B1DH LINE# 22 + C:0B1FH LINE# 23 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 7 + + + C:0B21H LINE# 24 + C:0B23H LINE# 25 + C:0B25H LINE# 26 ------- ENDPROC _LCD1602_WRITE_CMD ------- PROC _LCD1602_WRITE_DATA D:0006H SYMBOL dat - C:0AD2H LINE# 28 - C:0AD4H LINE# 29 - C:0AD4H LINE# 30 - C:0AD7H LINE# 31 - C:0AD9H LINE# 32 - C:0ADBH LINE# 33 - C:0ADDH LINE# 34 - C:0ADFH LINE# 35 - C:0AE1H LINE# 36 + C:0B26H LINE# 28 + C:0B28H LINE# 29 + C:0B28H LINE# 30 + C:0B2BH LINE# 31 + C:0B2DH LINE# 32 + C:0B2FH LINE# 33 + C:0B31H LINE# 34 + C:0B33H LINE# 35 + C:0B35H LINE# 36 ------- ENDPROC _LCD1602_WRITE_DATA ------- PROC _LCDSETCURSOR D:0007H SYMBOL x D:0005H SYMBOL y ------- DO -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 6 - - D:0004H SYMBOL addr ------- ENDDO - C:0AB0H LINE# 38 - C:0AB0H LINE# 39 - C:0AB0H LINE# 41 - C:0AB3H LINE# 42 - C:0AB7H LINE# 44 - C:0ABBH LINE# 46 + C:0B04H LINE# 38 + C:0B04H LINE# 39 + C:0B04H LINE# 41 + C:0B07H LINE# 42 + C:0B0BH LINE# 44 + C:0B0FH LINE# 46 ------- ENDPROC _LCDSETCURSOR ------- PROC _DISPLAYONECHAR D:0006H SYMBOL X D:0005H SYMBOL Y D:0004H SYMBOL DData - C:0A08H LINE# 50 - C:0A0CH LINE# 51 - C:0A0CH LINE# 52 - C:0A0FH LINE# 53 - C:0A12H LINE# 54 - C:0A18H LINE# 55 - C:0A1BH LINE# 56 - C:0A20H LINE# 57 + C:0A04H LINE# 50 + C:0A08H LINE# 51 + C:0A08H LINE# 52 + C:0A0BH LINE# 53 + C:0A0EH LINE# 54 + C:0A14H LINE# 55 + C:0A17H LINE# 56 + C:0A1CH LINE# 57 ------- ENDPROC _DISPLAYONECHAR ------- PROC _LCDSHOWSTR D:0007H SYMBOL x D:0005H SYMBOL y - D:000FH SYMBOL str - C:091EH LINE# 61 - C:0924H LINE# 62 - C:0924H LINE# 63 - C:0927H LINE# 64 - C:0932H LINE# 65 - C:0932H LINE# 66 - C:0943H LINE# 67 - C:0945H LINE# 68 + D:0011H SYMBOL str + C:0938H LINE# 61 + C:093EH LINE# 62 + C:093EH LINE# 63 + C:0941H LINE# 64 + C:094CH LINE# 65 + C:094CH LINE# 66 + C:095DH LINE# 67 + C:095FH LINE# 68 ------- ENDPROC _LCDSHOWSTR ------- PROC INITLCD1602 - C:0A8AH LINE# 70 - C:0A8AH LINE# 71 - C:0A8AH LINE# 72 - C:0A8FH LINE# 73 - C:0A94H LINE# 74 - C:0A99H LINE# 75 + C:0ACAH LINE# 70 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 8 + + + C:0ACAH LINE# 71 + C:0ACAH LINE# 72 + C:0ACFH LINE# 73 + C:0AD4H LINE# 74 + C:0AD9H LINE# 75 ------- ENDPROC INITLCD1602 ------- ENDMOD LCD ------- MODULE PWM C:0000H SYMBOL _ICE_DUMMY_ D:0080H PUBLIC P0 - D:0090H PUBLIC P1 D:00B0H PUBLIC P3 - C:0B48H PUBLIC leftrun + C:0B9BH PUBLIC leftrun D:0008H PUBLIC pwm_val_left - C:098EH PUBLIC _delay - C:09CCH PUBLIC pwm_out_right_moto - C:09AEH PUBLIC pwm_out_left_moto + C:09A8H PUBLIC _delay + C:09E6H PUBLIC pwm_out_right_moto + C:09C8H PUBLIC pwm_out_left_moto B:0080H.4 PUBLIC IN1 B:0080H.5 PUBLIC IN2 -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 7 - - B:0080H.6 PUBLIC IN3 B:0080H.7 PUBLIC IN4 B:0020H.3 PUBLIC Right_moto_stop D:008DH PUBLIC TH1 D:008BH PUBLIC TL1 - C:0A25H PUBLIC timer1 - C:0AF1H PUBLIC run + C:0A21H PUBLIC timer1 + C:0B36H PUBLIC run B:0020H.4 PUBLIC Left_moto_stop B:00B0H.4 PUBLIC Right_moto_pwm D:0009H PUBLIC time1 D:000BH PUBLIC pwm_left B:00B0H.5 PUBLIC Left_moto_pwm D:000CH PUBLIC push_val_right - C:0B00H PUBLIC backrun + C:0B45H PUBLIC backrun D:000DH PUBLIC push_val_left - C:0B53H PUBLIC rightrun + C:0BA6H PUBLIC rightrun D:000EH PUBLIC pwm_val_right ------- PROC _DELAY D:0006H SYMBOL k @@ -385,151 +464,154 @@ SYMBOL TABLE OF MODULE: pro (MAIN) D:0004H SYMBOL x D:0002H SYMBOL y ------- ENDDO - C:098EH LINE# 18 - C:098EH LINE# 19 - C:098EH LINE# 21 - C:0998H LINE# 22 - C:09ADH LINE# 23 + C:09A8H LINE# 18 + C:09A8H LINE# 19 + C:09A8H LINE# 21 + C:09B2H LINE# 22 + C:09C7H LINE# 23 ------- ENDPROC _DELAY ------- PROC RUN - C:0AF1H LINE# 26 - C:0AF1H LINE# 27 - C:0AF1H LINE# 28 - C:0AF4H LINE# 29 - C:0AF7H LINE# 30 - C:0AFBH LINE# 31 - C:0AFFH LINE# 32 + C:0B36H LINE# 26 + C:0B36H LINE# 27 + C:0B36H LINE# 28 + C:0B39H LINE# 29 + C:0B3CH LINE# 30 + C:0B40H LINE# 31 + C:0B44H LINE# 32 ------- ENDPROC RUN +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 9 + + ------- PROC BACKRUN - C:0B00H LINE# 34 - C:0B00H LINE# 35 - C:0B00H LINE# 36 - C:0B03H LINE# 37 - C:0B06H LINE# 38 - C:0B0AH LINE# 39 - C:0B0EH LINE# 40 + C:0B45H LINE# 34 + C:0B45H LINE# 35 + C:0B45H LINE# 36 + C:0B48H LINE# 37 + C:0B4BH LINE# 38 + C:0B4FH LINE# 39 + C:0B53H LINE# 40 ------- ENDPROC BACKRUN ------- PROC LEFTRUN - C:0B48H LINE# 44 - C:0B48H LINE# 45 - C:0B48H LINE# 46 - C:0B4BH LINE# 47 - C:0B4EH LINE# 48 - C:0B52H LINE# 49 + C:0B9BH LINE# 44 + C:0B9BH LINE# 45 + C:0B9BH LINE# 46 + C:0B9EH LINE# 47 + C:0BA1H LINE# 48 + C:0BA5H LINE# 49 ------- ENDPROC LEFTRUN ------- PROC RIGHTRUN - C:0B53H LINE# 53 -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 8 - - - C:0B53H LINE# 54 - C:0B53H LINE# 55 - C:0B56H LINE# 56 - C:0B59H LINE# 57 - C:0B5DH LINE# 58 + C:0BA6H LINE# 53 + C:0BA6H LINE# 54 + C:0BA6H LINE# 55 + C:0BA9H LINE# 56 + C:0BACH LINE# 57 + C:0BB0H LINE# 58 ------- ENDPROC RIGHTRUN ------- PROC PWM_OUT_LEFT_MOTO - C:09AEH LINE# 61 - C:09AEH LINE# 62 - C:09AEH LINE# 63 - C:09B1H LINE# 64 - C:09B1H LINE# 65 - C:09B8H LINE# 66 - C:09B8H LINE# 67 - C:09BAH LINE# 68 - C:09BCH LINE# 70 - C:09BCH LINE# 71 - C:09BEH LINE# 72 - C:09BEH LINE# 73 - C:09C5H LINE# 74 - C:09C8H LINE# 75 - C:09C9H LINE# 77 - C:09C9H LINE# 78 - C:09CBH LINE# 79 - C:09CBH LINE# 80 + C:09C8H LINE# 61 + C:09C8H LINE# 62 + C:09C8H LINE# 63 + C:09CBH LINE# 64 + C:09CBH LINE# 65 + C:09D2H LINE# 66 + C:09D2H LINE# 67 + C:09D4H LINE# 68 + C:09D6H LINE# 70 + C:09D6H LINE# 71 + C:09D8H LINE# 72 + C:09D8H LINE# 73 + C:09DFH LINE# 74 + C:09E2H LINE# 75 + C:09E3H LINE# 77 + C:09E3H LINE# 78 + C:09E5H LINE# 79 + C:09E5H LINE# 80 ------- ENDPROC PWM_OUT_LEFT_MOTO ------- PROC PWM_OUT_RIGHT_MOTO - C:09CCH LINE# 83 - C:09CCH LINE# 84 - C:09CCH LINE# 85 - C:09CFH LINE# 86 - C:09CFH LINE# 87 - C:09D6H LINE# 88 - C:09D6H LINE# 89 - C:09D8H LINE# 90 - C:09DAH LINE# 92 - C:09DAH LINE# 93 - C:09DCH LINE# 94 - C:09DCH LINE# 95 - C:09E3H LINE# 96 - C:09E6H LINE# 97 - C:09E7H LINE# 99 - C:09E7H LINE# 100 - C:09E9H LINE# 101 - C:09E9H LINE# 102 + C:09E6H LINE# 83 + C:09E6H LINE# 84 + C:09E6H LINE# 85 + C:09E9H LINE# 86 + C:09E9H LINE# 87 + C:09F0H LINE# 88 + C:09F0H LINE# 89 + C:09F2H LINE# 90 + C:09F4H LINE# 92 + C:09F4H LINE# 93 + C:09F6H LINE# 94 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 10 + + + C:09F6H LINE# 95 + C:09FDH LINE# 96 + C:0A00H LINE# 97 + C:0A01H LINE# 99 + C:0A01H LINE# 100 + C:0A03H LINE# 101 + C:0A03H LINE# 102 ------- ENDPROC PWM_OUT_RIGHT_MOTO ------- PROC TIMER1 - C:0A25H LINE# 104 - C:0A29H LINE# 106 - C:0A2CH LINE# 107 - C:0A2FH LINE# 108 - C:0A37H LINE# 110 - C:0A39H LINE# 112 - C:0A3CH LINE# 113 + C:0A21H LINE# 104 + C:0A25H LINE# 106 + C:0A28H LINE# 107 + C:0A2BH LINE# 108 + C:0A33H LINE# 110 + C:0A35H LINE# 112 + C:0A38H LINE# 113 ------- ENDPROC TIMER1 ------- ENDMOD PWM -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 9 - - ------- MODULE I2C C:0000H SYMBOL _ICE_DUMMY_ D:0080H PUBLIC P0 - C:08A1H PUBLIC _I2cSendByte - C:0B5EH PUBLIC I2cStop - C:0B32H PUBLIC Delay10us + C:08F7H PUBLIC _I2cSendByte + C:0BB1H PUBLIC I2cStop + C:0B85H PUBLIC Delay10us B:0080H.0 PUBLIC SDA - C:096CH PUBLIC _At24c02Read + C:0986H PUBLIC _At24c02Read B:0080H.1 PUBLIC SCL - C:0B0FH PUBLIC I2cStart - C:0A5BH PUBLIC _At24c02Write - C:0946H PUBLIC I2cReadByte - C:0B2DH SYMBOL L?0024 + C:0B54H PUBLIC I2cStart + C:0A57H PUBLIC _At24c02Write + C:0960H PUBLIC I2cReadByte + C:0B80H SYMBOL L?0024 ------- PROC L?0023 ------- ENDPROC L?0023 - C:0B2DH SYMBOL L?0024 + C:0B80H SYMBOL L?0024 ------- PROC DELAY10US ------- DO D:0006H SYMBOL a D:0007H SYMBOL b ------- ENDDO - C:0B32H LINE# 10 - C:0B32H LINE# 11 - C:0B32H LINE# 13 - C:0B34H LINE# 14 - C:0B3AH LINE# 16 + C:0B85H LINE# 10 + C:0B85H LINE# 11 + C:0B85H LINE# 13 + C:0B87H LINE# 14 + C:0B8DH LINE# 16 ------- ENDPROC DELAY10US ------- PROC I2CSTART - C:0B0FH LINE# 25 - C:0B0FH LINE# 26 - C:0B0FH LINE# 27 - C:0B11H LINE# 28 - C:0B11H LINE# 29 - C:0B11H LINE# 30 - C:0B14H LINE# 31 - C:0B16H LINE# 32 - C:0B19H LINE# 33 - C:0B1BH LINE# 34 + C:0B54H LINE# 25 + C:0B54H LINE# 26 + C:0B54H LINE# 27 + C:0B56H LINE# 28 + C:0B56H LINE# 29 + C:0B56H LINE# 30 + C:0B59H LINE# 31 + C:0B5BH LINE# 32 + C:0B5EH LINE# 33 + C:0B60H LINE# 34 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 11 + + ------- ENDPROC I2CSTART ------- PROC I2CSTOP - C:0B5EH LINE# 44 - C:0B5EH LINE# 45 - C:0B5EH LINE# 46 - C:0B60H LINE# 47 - C:0B60H LINE# 48 - C:0B60H LINE# 49 - C:0B63H LINE# 50 - C:0B65H LINE# 51 + C:0BB1H LINE# 44 + C:0BB1H LINE# 45 + C:0BB1H LINE# 46 + C:0BB3H LINE# 47 + C:0BB3H LINE# 48 + C:0BB3H LINE# 49 + C:0BB6H LINE# 50 + C:0BB8H LINE# 51 ------- ENDPROC I2CSTOP ------- PROC _I2CSENDBYTE D:0005H SYMBOL dat @@ -537,100 +619,96 @@ SYMBOL TABLE OF MODULE: pro (MAIN) D:0003H SYMBOL a D:0002H SYMBOL b ------- ENDDO - C:08A1H LINE# 61 - C:08A3H LINE# 62 -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 10 - - - C:08A3H LINE# 63 - C:08A6H LINE# 64 - C:08A6H LINE# 65 - C:08A6H LINE# 66 - C:08B1H LINE# 67 - C:08B5H LINE# 68 - C:08B5H LINE# 69 - C:08B5H LINE# 70 - C:08B8H LINE# 71 - C:08BAH LINE# 72 - C:08BDH LINE# 73 - C:08C1H LINE# 74 - C:08C3H LINE# 75 - C:08C6H LINE# 76 - C:08C8H LINE# 77 - C:08CBH LINE# 78 - C:08CBH LINE# 79 - C:08CCH LINE# 80 - C:08D2H LINE# 81 - C:08D2H LINE# 82 - C:08D4H LINE# 83 - C:08D7H LINE# 84 - C:08DAH LINE# 85 - C:08DAH LINE# 86 - C:08DAH LINE# 87 - C:08DCH LINE# 88 - C:08DFH LINE# 89 - C:08E1H LINE# 90 + C:08F7H LINE# 61 + C:08F9H LINE# 62 + C:08F9H LINE# 63 + C:08FCH LINE# 64 + C:08FCH LINE# 65 + C:08FCH LINE# 66 + C:0907H LINE# 67 + C:090BH LINE# 68 + C:090BH LINE# 69 + C:090BH LINE# 70 + C:090EH LINE# 71 + C:0910H LINE# 72 + C:0913H LINE# 73 + C:0917H LINE# 74 + C:0919H LINE# 75 + C:091CH LINE# 76 + C:091EH LINE# 77 + C:0921H LINE# 78 + C:0921H LINE# 79 + C:0922H LINE# 80 + C:0928H LINE# 81 + C:0928H LINE# 82 + C:092AH LINE# 83 + C:092DH LINE# 84 + C:0930H LINE# 85 + C:0930H LINE# 86 + C:0930H LINE# 87 + C:0932H LINE# 88 + C:0935H LINE# 89 + C:0937H LINE# 90 ------- ENDPROC _I2CSENDBYTE ------- PROC I2CREADBYTE ------- DO D:0005H SYMBOL a D:0004H SYMBOL dat ------- ENDDO - C:0946H LINE# 99 - C:0946H LINE# 100 - C:0946H LINE# 101 - C:0949H LINE# 102 - C:094BH LINE# 103 - C:094EH LINE# 104 - C:094EH LINE# 105 - C:094EH LINE# 106 - C:0950H LINE# 107 - C:0953H LINE# 108 - C:0957H LINE# 109 - C:095DH LINE# 110 - C:0960H LINE# 111 - C:0962H LINE# 112 - C:0965H LINE# 113 - C:0969H LINE# 114 - C:096BH LINE# 115 + C:0960H LINE# 99 + C:0960H LINE# 100 + C:0960H LINE# 101 + C:0963H LINE# 102 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 12 + + + C:0965H LINE# 103 + C:0968H LINE# 104 + C:0968H LINE# 105 + C:0968H LINE# 106 + C:096AH LINE# 107 + C:096DH LINE# 108 + C:0971H LINE# 109 + C:0977H LINE# 110 + C:097AH LINE# 111 + C:097CH LINE# 112 + C:097FH LINE# 113 + C:0983H LINE# 114 + C:0985H LINE# 115 ------- ENDPROC I2CREADBYTE ------- PROC _AT24C02WRITE D:0001H SYMBOL addr D:0004H SYMBOL dat - C:0A5BH LINE# 125 - C:0A5FH LINE# 126 -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 11 - - - C:0A5FH LINE# 127 - C:0A62H LINE# 128 - C:0A67H LINE# 129 - C:0A6CH LINE# 130 - C:0A71H LINE# 131 + C:0A57H LINE# 125 + C:0A5BH LINE# 126 + C:0A5BH LINE# 127 + C:0A5EH LINE# 128 + C:0A63H LINE# 129 + C:0A68H LINE# 130 + C:0A6DH LINE# 131 ------- ENDPROC _AT24C02WRITE ------- PROC _AT24C02READ D:0004H SYMBOL addr ------- DO D:0005H SYMBOL num ------- ENDDO - C:096CH LINE# 140 - C:096EH LINE# 141 - C:096EH LINE# 143 - C:0971H LINE# 144 - C:0976H LINE# 145 - C:097BH LINE# 146 - C:097EH LINE# 147 - C:0983H LINE# 148 - C:0988H LINE# 149 - C:098BH LINE# 150 - C:098DH LINE# 151 + C:0986H LINE# 140 + C:0988H LINE# 141 + C:0988H LINE# 143 + C:098BH LINE# 144 + C:0990H LINE# 145 + C:0995H LINE# 146 + C:0998H LINE# 147 + C:099DH LINE# 148 + C:09A2H LINE# 149 + C:09A5H LINE# 150 + C:09A7H LINE# 151 ------- ENDPROC _AT24C02READ ------- ENDMOD I2C ------- MODULE IRIN C:0000H SYMBOL _ICE_DUMMY_ D:0080H PUBLIC P0 - D:0090H PUBLIC P1 D:00B0H PUBLIC P3 B:00A8H.7 PUBLIC EA D:003AH PUBLIC journey @@ -641,10 +719,13 @@ SYMBOL TABLE OF MODULE: pro (MAIN) B:00B0H.5 PUBLIC k1 B:00B0H.4 PUBLIC k2 B:00B0H.2 PUBLIC k4 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 13 + + B:0020H.0 PUBLIC s0 B:0020H.1 PUBLIC state B:0020H.2 PUBLIC flas - C:09EAH PUBLIC IRIN_Init + C:0ADEH PUBLIC IRIN_Init D:0042H PUBLIC money D:0044H PUBLIC count D:0089H PUBLIC TMOD @@ -653,184 +734,176 @@ SYMBOL TABLE OF MODULE: pro (MAIN) D:0049H PUBLIC sudu D:004BH PUBLIC r_s B:00A8H.1 PUBLIC ET0 - B:00A8H.3 PUBLIC ET1 D:008CH PUBLIC TH0 - D:008DH PUBLIC TH1 B:00A8H.2 PUBLIC EX1 B:0088H.2 PUBLIC IT1 D:008AH PUBLIC TL0 -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 12 - - - D:008BH PUBLIC TL1 B:0088H.4 PUBLIC TR0 - B:0088H.6 PUBLIC TR1 D:004DH PUBLIC ms C:05F3H PUBLIC time0 D:004EH PUBLIC b D:0050H PUBLIC c D:0052H PUBLIC sec1 - C:0B22H PUBLIC _delay11 + C:0B67H PUBLIC _delay11 C:0409H PUBLIC display - C:0B3BH PUBLIC int1 - C:0B1EH SYMBOL L?0035 + C:0B8EH PUBLIC int1 + C:0B63H SYMBOL L?0035 ------- PROC L?0034 ------- ENDPROC L?0034 - C:0B1EH SYMBOL L?0035 + C:0B63H SYMBOL L?0035 ------- PROC _DELAY11 D:0006H SYMBOL i - C:0B22H LINE# 34 - C:0B22H LINE# 35 - C:0B22H LINE# 36 - C:0B2CH LINE# 37 + C:0B67H LINE# 34 + C:0B67H LINE# 35 + C:0B67H LINE# 36 + C:0B71H LINE# 37 ------- ENDPROC _DELAY11 ------- PROC IRIN_INIT - C:09EAH LINE# 39 - C:09EAH LINE# 40 - C:09EAH LINE# 41 - C:09EDH LINE# 42 - C:09F0H LINE# 43 - C:09F3H LINE# 44 - C:09F5H LINE# 45 - C:09F8H LINE# 46 - C:09FBH LINE# 47 - C:09FDH LINE# 48 - C:09FFH LINE# 49 - C:0A01H LINE# 50 - C:0A03H LINE# 51 - C:0A05H LINE# 52 - C:0A07H LINE# 54 + C:0ADEH LINE# 39 + C:0ADEH LINE# 40 + C:0ADEH LINE# 41 + C:0AE1H LINE# 42 + C:0AE4H LINE# 43 + C:0AE7H LINE# 44 + C:0AE9H LINE# 45 + C:0AEBH LINE# 46 + C:0AEDH LINE# 47 + C:0AEFH LINE# 48 + C:0AF1H LINE# 49 ------- ENDPROC IRIN_INIT ------- PROC DISPLAY - C:0409H LINE# 56 - C:0409H LINE# 57 - C:0409H LINE# 58 - C:040FH LINE# 59 - C:040FH LINE# 60 - C:0419H LINE# 61 - C:0424H LINE# 62 - C:0424H LINE# 63 - C:042EH LINE# 64 - C:042EH LINE# 65 - C:0434H LINE# 66 - C:0440H LINE# 67 - C:0459H LINE# 68 - C:0472H LINE# 69 - C:0484H LINE# 70 - C:0491H LINE# 72 - C:049EH LINE# 73 -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 13 - - - C:04B7H LINE# 74 - C:04D0H LINE# 75 - C:04E9H LINE# 76 - C:0502H LINE# 77 - C:0514H LINE# 78 - C:0521H LINE# 80 - C:052CH LINE# 81 - C:052CH LINE# 82 - C:0556H LINE# 83 - C:055DH LINE# 84 - C:055DH LINE# 85 - C:056CH LINE# 86 - C:0579H LINE# 87 - C:0592H LINE# 88 - C:05ABH LINE# 89 - C:05C4H LINE# 90 - C:05D1H LINE# 91 - C:05E3H LINE# 93 - C:05F2H LINE# 96 - C:05F2H LINE# 97 + C:0409H LINE# 51 + C:0409H LINE# 52 + C:0409H LINE# 53 + C:040FH LINE# 54 + C:040FH LINE# 55 + C:0419H LINE# 56 + C:0424H LINE# 57 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 14 + + + C:0424H LINE# 58 + C:042EH LINE# 59 + C:042EH LINE# 60 + C:0434H LINE# 61 + C:0440H LINE# 62 + C:0459H LINE# 63 + C:0472H LINE# 64 + C:0484H LINE# 65 + C:0491H LINE# 67 + C:049EH LINE# 68 + C:04B7H LINE# 69 + C:04D0H LINE# 70 + C:04E9H LINE# 71 + C:0502H LINE# 72 + C:0514H LINE# 73 + C:0521H LINE# 75 + C:052CH LINE# 76 + C:052CH LINE# 77 + C:0556H LINE# 78 + C:055DH LINE# 79 + C:055DH LINE# 80 + C:056CH LINE# 81 + C:0579H LINE# 82 + C:0592H LINE# 83 + C:05ABH LINE# 84 + C:05C4H LINE# 85 + C:05D1H LINE# 86 + C:05E3H LINE# 88 + C:05F2H LINE# 90 + C:05F2H LINE# 91 ------- ENDPROC DISPLAY ------- PROC KEYPROS - C:07ECH LINE# 101 - C:07ECH LINE# 102 - C:07ECH LINE# 103 - C:07EFH LINE# 104 - C:07EFH LINE# 105 - C:07F2H LINE# 106 - C:07F5H LINE# 107 - C:07F5H LINE# 108 - C:07FFH LINE# 110 - C:0809H LINE# 111 - C:0813H LINE# 112 - C:081DH LINE# 114 - C:0827H LINE# 116 - C:0827H LINE# 117 - C:082AH LINE# 118 - C:082AH LINE# 120 - C:082DH LINE# 121 - C:082DH LINE# 122 - C:0830H LINE# 123 - C:0833H LINE# 124 - C:0833H LINE# 125 - C:0835H LINE# 127 - C:0835H LINE# 128 - C:0838H LINE# 129 - C:0838H LINE# 130 - C:083BH LINE# 131 - C:083BH LINE# 132 - C:083EH LINE# 133 - C:0841H LINE# 134 - C:0841H LINE# 135 - C:0848H LINE# 136 - C:0848H LINE# 137 - C:084BH LINE# 138 - C:084DH LINE# 140 - C:084DH LINE# 141 -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 14 - - - C:084FH LINE# 142 - C:084FH LINE# 143 - C:084FH LINE# 144 - C:0852H LINE# 145 - C:0852H LINE# 147 + C:07ECH LINE# 95 + C:07ECH LINE# 96 + C:07ECH LINE# 97 + C:07EFH LINE# 98 + C:07EFH LINE# 99 + C:07F2H LINE# 100 + C:07F5H LINE# 101 + C:07F5H LINE# 102 + C:07FFH LINE# 104 + C:0809H LINE# 105 + C:0813H LINE# 106 + C:081DH LINE# 108 + C:0827H LINE# 110 + C:0827H LINE# 111 + C:082AH LINE# 112 + C:082AH LINE# 114 + C:082DH LINE# 115 + C:082DH LINE# 116 + C:0830H LINE# 117 + C:0833H LINE# 118 + C:0833H LINE# 119 + C:0835H LINE# 121 + C:0835H LINE# 122 + C:0838H LINE# 123 + C:0838H LINE# 124 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 15 + + + C:083BH LINE# 125 + C:083BH LINE# 126 + C:083EH LINE# 127 + C:0841H LINE# 128 + C:0841H LINE# 129 + C:0848H LINE# 130 + C:0848H LINE# 131 + C:084BH LINE# 132 + C:084DH LINE# 134 + C:084DH LINE# 135 + C:084FH LINE# 136 + C:084FH LINE# 137 + C:084FH LINE# 138 + C:0852H LINE# 139 + C:0852H LINE# 141 ------- ENDPROC KEYPROS ------- PROC TIME0 - C:05F3H LINE# 149 - C:0610H LINE# 151 - C:0613H LINE# 152 - C:0616H LINE# 153 - C:0618H LINE# 154 - C:0624H LINE# 157 - C:0631H LINE# 158 - C:0631H LINE# 160 - C:0637H LINE# 161 - C:063DH LINE# 162 - C:0640H LINE# 163 - C:0642H LINE# 164 - C:0648H LINE# 166 - C:064EH LINE# 167 - C:0650H LINE# 168 - C:0697H LINE# 170 - C:069DH LINE# 171 - C:069DH LINE# 172 - C:06B7H LINE# 173 - C:06BEH LINE# 175 - C:06FCH LINE# 176 - C:0702H LINE# 177 - C:0708H LINE# 178 - C:070FH LINE# 180 - C:0712H LINE# 181 - C:0719H LINE# 182 - C:0720H LINE# 183 - C:0722H LINE# 185 - C:0722H LINE# 186 - C:0728H LINE# 187 - C:072EH LINE# 188 - C:0735H LINE# 189 - C:073CH LINE# 190 - C:0743H LINE# 191 - C:0745H LINE# 192 - C:0745H LINE# 193 - C:0745H LINE# 194 + C:05F3H LINE# 143 + C:0610H LINE# 145 + C:0613H LINE# 146 + C:0616H LINE# 147 + C:0618H LINE# 148 + C:0624H LINE# 151 + C:0631H LINE# 152 + C:0631H LINE# 154 + C:0637H LINE# 155 + C:063DH LINE# 156 + C:0640H LINE# 157 + C:0642H LINE# 158 + C:0648H LINE# 160 + C:064EH LINE# 161 + C:0650H LINE# 162 + C:0697H LINE# 164 + C:069DH LINE# 165 + C:069DH LINE# 166 + C:06B7H LINE# 167 + C:06BEH LINE# 169 + C:06FCH LINE# 170 + C:0702H LINE# 171 + C:0708H LINE# 172 + C:070FH LINE# 174 + C:0712H LINE# 175 + C:0719H LINE# 176 + C:0720H LINE# 177 + C:0722H LINE# 179 + C:0722H LINE# 180 + C:0728H LINE# 181 + C:072EH LINE# 182 + C:0735H LINE# 183 + C:073CH LINE# 184 + C:0743H LINE# 185 + C:0745H LINE# 186 + C:0745H LINE# 187 + C:0745H LINE# 188 ------- ENDPROC TIME0 ------- PROC INT1 - C:0B3BH LINE# 196 - C:0B3DH LINE# 199 - C:0B45H LINE# 201 + C:0B8EH LINE# 190 +BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 23:56:38 PAGE 16 + + + C:0B90H LINE# 193 + C:0B98H LINE# 195 ------- ENDPROC INT1 ------- ENDMOD IRIN @@ -839,9 +912,6 @@ SYMBOL TABLE OF MODULE: pro (MAIN) C:0021H PUBLIC ?C?FPSUB ------- ENDMOD ?C?FPADD -BL51 BANKED LINKER/LOCATER V6.22 04/06/2022 21:56:11 PAGE 15 - - ------- MODULE ?C?FPMUL C:0116H PUBLIC ?C?FPMUL ------- ENDMOD ?C?FPMUL @@ -876,5 +946,5 @@ SYMBOL TABLE OF MODULE: pro (MAIN) C:03FBH PUBLIC ?C?LNEG ------- ENDMOD ?C?LNEG -Program Size: data=69.5 xdata=0 code=2902 +Program Size: data=71.5 xdata=0 code=2992 LINK/LOCATE RUN COMPLETE. 0 WARNING(S), 0 ERROR(S) diff --git a/pro.build_log.htm b/pro.build_log.htm index 73c70e4..531353f 100644 --- a/pro.build_log.htm +++ b/pro.build_log.htm @@ -18,21 +18,17 @@ Hex Converter: OH51.exe V2.7.0.0 CPU DLL: S8051.DLL V3.106.0.0 Dialog DLL: DP51.DLL V2.63.0.0