移动机器人(小车)的物理坐标和逻辑坐标的转换源码
源代码在线查看: rd_lcd1602b.o
XL
H 4 areas 15 global symbols
M RD_LCD1602B.c
S mod32u Ref0000
S div32u Ref0000
S push_xgset300C Ref0000
S push_xgsetF00C Ref0000
S asgncblk Ref0000
S push_arg4 Ref0000
S neg32 Ref0000
S pop_xgset300C Ref0000
S lsl32 Ref0000
S lsr32 Ref0000
S pop_xgsetF00C Ref0000
A text size 396 flags 0
dbfile E:\单片机\ROOBCO~1\全向定位系统\坐标转换模块\相对定位模块应用版\Relative_Locate_Module\RD_LCD1602B.c
dbfunc s LCDDelay 0 fV
dbsym r TimeCounter1 14 i
dbsym r Time A i
dbline FFFFFFFF 4
dbline D3 4
dbline D4 4
dbline D6 4
dbline D7 A
dbline D8 A
dbline D9 10
dbline D6 10
dbline D6 14
dbline FFFFFFFE 1A
dbline 0 1A
dbfunc s LCDDelayUs 1C fV
dbsym r TimeCounter1 14 i
dbsym r Time 10 i
dbline FFFFFFFF 20
dbline E3 20
dbline E4 20
dbline E5 20
dbline E6 26
dbline E7 26
dbline E8 28
dbline E5 28
dbline E5 2C
dbline FFFFFFFE 32
dbline 0 32
dbfunc e LCDInit 38 fV
dbline FFFFFFFF 38
dbline F3 38
dbline F4 38
dbline F7 3E
dbline FB 42
dbline FC 44
dbline FD 48
dbline FE 4A
dbline FF 4E
dbline 100 54
dbline 101 58
dbline 102 5A
dbline FFFFFFFE 5C
dbline 0 5C
dbfunc e LCDSendCommand 5E fV
dbsym r Command 10 c
dbline FFFFFFFF 5E
dbline 10E 5E
dbline 10F 5E
dbline 10F 64
dbline 10F 6A
dbline 10F 6C
dbline 10F 6C
dbline 10F 72
dbline 110 72
dbline 110 78
dbline 112 78
dbline 113 78
dbline 113 7E
dbline 113 8A
dbline 114 8A
dbline 115 90
dbline 116 96
dbline 117 96
dbline 118 96
dbline 118 9C
dbline 118 AC
dbline 119 AC
dbline 11A B2
dbline 11B B8
dbline 121 B8
dbline 121 BE
dbline 121 C4
dbline 121 C6
dbline 121 C6
dbline 121 CC
dbline 122 CC
dbline 122 D2
dbline FFFFFFFE D2
dbline 0 D2
dbfunc e LCDSendData D4 fV
dbsym r Data 10 c
dbline FFFFFFFF D4
dbline 12C D4
dbline 12D D4
dbline 12D DA
dbline 12D E0
dbline 12D E2
dbline 12D E2
dbline 12D E8
dbline 12E E8
dbline 12E EE
dbline 130 EE
dbline 131 EE
dbline 131 F4
dbline 131 100
dbline 132 100
dbline 133 106
dbline 134 10C
dbline 136 10C
dbline 137 10C
dbline 137 112
dbline 137 122
dbline 138 122
dbline 139 128
dbline 13A 12E
dbline 140 12E
dbline 140 134
dbline 140 13A
dbline 140 13C
dbline 140 13C
dbline 140 142
dbline 141 142
dbline 141 148
dbline FFFFFFFE 148
dbline 0 148
dbfunc e LCDWaitForReady 14A fV
dbline FFFFFFFF 14A
dbline 14B 14A
dbline 150 14A
dbline 150 150
dbline 150 156
dbline 150 158
dbline 150 158
dbline 150 15E
dbline 151 15E
dbline 151 164
dbline 153 164
dbline 154 16A
dbline 154 16A
dbline 155 17E
dbline FFFFFFFE 184
dbline 0 184
dbfunc e LCDSetXY 186 fV
dbsym r Address0 14 c
dbsym r Y A c
dbsym r X 16 c
dbline FFFFFFFF 18C
dbline 1A7 18C
dbline 1A9 18C
dbline 1AA 190
dbline 1AB 190
dbline 1AC 194
dbline 1AE 196
dbline 1AF 196
dbline 1B0 19A
dbline 1B2 19A
dbline 1B3 19C
dbline FFFFFFFE 1A0
dbline 0 1A0
dbfunc e LCDDisplayString 1A2 fV
dbsym r String 14 pc
dbline FFFFFFFF 1A8
dbline 1BD 1A8
dbline 1BF 1AA
dbline 1C0 1AA
dbline 1C1 1AC
dbline 1C2 1B2
dbline 1C3 1B6
dbline 1BE 1B6
dbline FFFFFFFE 1BE
dbline 0 1BE
dbfunc e LCDDisplayNum 1C4 fV
dbsym r a1 14 c
dbsym l BitCount 5 c
dbsym l Num 1 l
dbline FFFFFFFF 1C8
dbline 1CD 1C8
dbline 1CE 1C8
dbline 1CF 1C8
dbline 1D0 1D0
dbline 1D1 1D0
dbline 1D2 1FE
dbline 1CF 1FE
dbline 1CF 200
dbline FFFFFFFE 204
dbline 0 204
dbfunc e RunString 20A fV
dbline FFFFFFFF 20A
dbline 1DD 20A
dbline FFFFFFFE 20A
dbline 0 20A
dbfunc e StringLength 20C fc
dbsym r n0 A c
dbsym r String 10 pc
dbline FFFFFFFF 20E
dbline 20B 20E
dbline 20C 20E
dbline 20E 212
dbline 20F 212
dbline 210 214
dbline 211 218
dbline 20D 218
dbline 213 220
dbline FFFFFFFE 222
dbline 0 222
dbfunc e PrintD 226 fV
dbsym l cTempBuff 5 A[10:10]c
dbsym r n3 16 c
dbsym r bIfFindFirstNoneZeroNumber1 14 c
dbsym r n1 14 c
dbsym l wTempNumber0 1 l
dbsym r chCounter 16 c
dbsym l nNumber 19 L
dbline FFFFFFFF 22E
dbline 264 22E
dbline 265 22E
dbline 266 244
dbline 267 244
dbline 268 28E
dbline 26A 28E
dbline 26B 2A8
dbline 26C 2A8
dbline 26F 2AE
dbline 272 2AE
dbline 273 2B2
dbline 274 2B2
dbline 275 2DA
dbline 276 2FC
dbline 272 2FC
dbline 272 2FE
dbline 278 302
dbline 279 306
dbline 27A 306
dbline 27B 308
dbline 27D 30A
dbline 27E 30A
dbline 27F 30C
dbline 280 30E
dbline 282 30E
dbline 284 31E
dbline 285 326
dbline 286 326
dbline 287 338
dbline 288 338
dbline 288 352
dbline 28B 352
dbline 28C 354
dbline 28D 356
dbline 28E 35A
dbline 28F 35A
dbline 28F 374
dbline 292 374
dbline 293 374
dbline 284 374
dbline 284 376
dbline 295 37C
dbline 296 380
dbline 297 380
dbline 297 38E
dbline 29A 38E
dbline FFFFFFFE 38E
dbline 0 38E
S _RunString Def020A
S _LCDSetXY Def0186
S _LCDSendData Def00D4
S _StringLength Def020C
S _LCDDisplayNum Def01C4
S _LCDSendCommand Def005E
S _LCDDisplayString Def01A2
S _PrintD Def0226
S _LCDInit Def0038
S _LCDWaitForReady Def014A
A data size 13 flags 20
dbfile E:\单片机\ROOBCO~1\全向定位系统\坐标转换模块\相对定位模块应用版\Relative_Locate_Module\RD_LCD1602B.c
A idata size 13 flags 0
A lit size A flags 0
T 00 00 30 31
R 00 00 02 00
T 02 00 32 33
R 00 00 02 00
T 04 00 34 35
R 00 00 02 00
T 06 00 36 37
R 00 00 02 00
T 08 00 38 39
R 00 00 02 00
T 0A 00 61 62
R 00 00 02 00
T 0C 00 63 64
R 00 00 02 00
T 0E 00 65 66
R 00 00 02 00
T 10 00 00
R 00 00 02 00
T 00 00 00 D0 58 01 44 27 55 27 05 C0 0F EF 10 E0
R 00 00 00 00 82 02 02 00
T 0E 00 06 D0 4F 5F 5F 4F 4A 15 5B 05 C0 F3 00 C0
R 00 00 00 00 82 0E 07 00
T 1C 00 4A 93 5A 93 44 27 55 27 03 C0 00 00 4F 5F
R 00 00 00 00
T 2A 00 5F 4F 40 17 51 07 D0 F3 59 91 49 91 08 95
R 00 00 00 00
T 38 00 0F E0 10 E0 E1 DF 08 E2 0E D0 83 D0 0C E0
R 00 00 00 00
T 46 00 0B D0 80 D0 01 E0 08 D0 02 E0 10 E0 D6 DF
R 00 00 00 00
T 54 00 02 E0 03 D0 78 D0 04 E1 00 C0
R 00 00 00 00
T 5E 00 8A B1 88 67 8A B9 8B B1 88 67 8B B9 00 00
R 00 00 00 00
T 6C 00 85 B1 8E 7F 85 B9 85 B1 8D 7F 85 B9 8B B1
R 00 00 00 00
T 7A 00 87 78 8B B9 80 2F 80 7F 86 95 2B B0 28 2A
R 00 00 00 00
T 88 00 2B B8 8B B1 80 68 8B B9 8B B1 8F 77 8B B9
R 00 00 00 00
T 96 00 8B B1 87 78 8B B9 80 2F 8F 70 88 0F 88 0F
R 00 00 00 00
T A4 00 88 0F 2B B0 28 2A 2B B8 8B B1 80 68 8B B9
R 00 00 00 00
T B2 00 8B B1 8F 77 8B B9 8A B1 87 78 8A B9 8B B1
R 00 00 00 00
T C0 00 88 67 8B B9 00 00 85 B1 81 60 85 B9 85 B1
R 00 00 00 00
T CE 00 8D 7F 85 B9 08 95
R 00 00 00 00
T D4 00 8A B1 88 67 8A B9 8B B1 88 67 8B B9 00 00
R 00 00 00 00
T E2 00 85 B1 8E 7F 85 B9 85 B1 82 60 85 B9 8B B1
R 00 00 00 00
T F0 00 87 78 8B B9 80 2F 80 7F 86 95 2B B0 28 2A
R 00 00 00 00
T FE 00 2B B8 8B B1 80 68 8B B9 8B B1 8F 77 8B B9
R 00 00 00 00
T 0C 01 8B B1 87 78 8B B9 80 2F 8F 70 88 0F 88 0F
R 00 00 00 00
T 1A 01 88 0F 2B B0 28 2A 2B B8 8B B1 80 68 8B B9
R 00 00 00 00
T 28 01 8B B1 8F 77 8B B9 8A B1 87 78 8A B9 8B B1
R 00 00 00 00
T 36 01 88 67 8B B9 00 00 85 B1 81 60 85 B9 85 B1
R 00 00 00 00
T 44 01 8D 7F 85 B9 08 95
R 00 00 00 00
T 4A 01 8A B1 87 78 8A B9 8B B1 88 67 8B B9 00 00
R 00 00 00 00
T 58 01 85 B1 81 60 85 B9 85 B1 8D 7F 85 B9 8B B1
R 00 00 00 00
T 66 01 80 68 8B B9 89 B1 86 95 86 95 86 95 86 95
R 00 00 00 00
T 74 01 86 95 86 95 81 70 81 30 B1 F3 8B B1 8F 77
R 00 00 00 00
T 82 01 8B B9 08 95
R 00 00 00 00
T 86 01 00 D0 A2 2E 60 2F AA 20 19 F4 46 2F 40 58
R 00 00 00 00 82 02 03 00
T 94 01 02 C0 46 2F 40 54 D7 DF 04 2F 5F DF 00 C0
R 00 00 00 00 82 0E 0A 00
T A2 01 4A 93 5A 93 A8 01 06 C0 CF DF FA 01 00 81
R 00 00 00 00
T B0 01 91 DF 4F 5F 5F 4F FA 01 20 80 22 20 B1 F7
R 00 00 00 00
T BE 01 59 91 49 91 08 95
R 00 00 00 00
T C4 01 00 D0 4A 93 48 E0 0D 80 40 19 18 C0 24 2E
R 00 00 00 00 82 02 05 00
T D2 01 33 24 22 0C 33 1C 22 0C 33 1C 09 81 1A 81
R 00 00 00 00
T E0 01 2B 81 3C 81 2A 92 00 D0 8C E1 90 E0 8A 93
R 00 00 00 00 82 08 08 00
T EE 01 00 D0 F8 01 80 E0
R 00 00 00 00 82 02 09 00 20 06 01 00 00 00
T F4 01 90 E0 E8 0F F9 1F 00 81 6B DF 43 95 48 30
R 00 00 00 00 40 02 01 00 00 00
T 02 02 30 F3 49 91 24 96 08 95
R 00 00 00 00
T 0A 02 08 95
R 00 00 00 00
T 0C 02 AA 92 AA 24 03 C0 A3 94 0F 5F 1F 4F F8 01
R 00 00 00 00
T 1A 02 20 80 22 20 C9 F7 0A 2D A9 90 08 95
R 00 00 00 00
T 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 03 00
T 26 02 00 D0 00 D0 63 97 6D 8D
R 00 00 00 00 82 02 05 00 82 04 03 00
T 2E 02 80 E0 90 E0 FE 01 35 96 0A E0 10 E0 FA 93
R 00 00 00 00 20 02 03 00 00 00 40 04 03 00 00 00
T 3C 02 EA 93 9A 93 8A 93 00 D0 80 E0 90 E0 A0 E0
R 00 00 00 00 82 08 04 00
T 4A 02 B0 E0 29 8C 3A 8C 4B 8C 5C 8C 28 16 39 06
R 00 00 00 00
T 58 02 4A 06 5B 06 44 F4 81 01 92 01 00 D0 0F 87
R 00 00 00 00 82 0C 06 00
T 66 02 18 8B 29 8B 3A 8B 08 C0 29 8C 3A 8C 4B 8C
R 00 00 00 00
T 74 02 5C 8C 2F 86 38 8A 49 8A 5A 8A 2F 84 38 88
R 00 00 00 00
T 82 02 49 88 5A 88 29 82 3A 82 4B 82 5C 82 80 E0
R 00 00 00 00
T 90 02 90 E0 A0 E0 B0 E0 29 8C 3A 8C 4B 8C 5C 8C
R 00 00 00 00
T 9E 02 28 16 39 06 4A 06 5B 06 1C F4 00 E0 10 E0
R 00 00 00 00 20 0C 01 00 11 00 40 0E 01 00 11 00
T AC 02 7A DF 49 E0 26 C0 8A E0 90 E0 A0 E0 B0 E0
R 00 00 00 00
T BA 02 09 81 1A 81 2B 81 3C 81 BA 93 AA 93 9A 93
R 00 00 00 00
T C8 02 8A 93 00 D0 CE 01 05 96 E4 2F FF 27 E8 0F
R 00 00 00 00 82 04 00 00
T D6 02 F9 1F 00 83 8A E0 90 E0 A0 E0 B0 E0 09 81
R 00 00 00 00
T E4 02 1A 81 2B 81 3C 81 BA 93 AA 93 9A 93 8A 93
R 00 00 00 00
T F2 02 00 D0 09 83 1A 83 2B 83 3C 83 4A 95 44 23
R 00 00 00 00 82 02 01 00
T 00 03 C1 F6 66 23 11 F0 41 E0 02 C0 6A E0 44 27
R 00 00 00 00
T 0E 03 6A 30 18 F4 A6 2E BB 24 03 C0 8A E0 90 E0
R 00 00 00 00
T 1C 03 5C 01 8A E0 8A 19 68 2F 28 C0 CE 01 05 96
R 00 00 00 00
T 2A 03 E6 2F FF 27 E8 0F F9 1F 20 80 22 20 79 F0
R 00 00 00 00
T 38 03 81 E0 88 83 CE 01 05 96 E6 2F FF 27 E8 0F
R 00 00 00 00
T 46 03 F9 1F 00 81 11 27 22 27 33 27 39 DF 41 E0
R 00 00 00 00
T 54 03 0F C0 44 23 69 F0 81 E0 88 83 CE 01 05 96
R 00 00 00 00
T 62 03 E6 2F FF 27 E8 0F F9 1F 00 81 11 27 22 27
R 00 00 00 00
T 70 03 33 27 28 DF 63 95 6A 30 08 F4 D5 CF 44 23
R 00 00 00 00
T 7E 03 39 F4 81 E0 88 83 00 E0 10 E0 20 E0 30 E0
R 00 00 00 00
T 8C 03 1B DF 63 96 00 D0 24 96 08 95
R 00 00 00 00 82 06 0A 00
T 11 00 2D 00
R 00 00 02 00