例子:
:A10305
05: 0000 0101
even:01(偶数个1为1,奇数个1为0.)
:A1030501
A1 03 05 01
1010 0001 A1
+ 0000 0011 03
------------------
1010 0100
+ 0000 0101 05
---------------------
1010 1001
+ 0000 0001 01
-------------------
1010 1010 --------- aa
补:0101 0110 --------- 56
(LRC校验:把地址、功能、数据、校验码之和后的补码。)
:A1030501560D0A(字符串)
例子:
:A10603
03: 0000 0011
even:01(偶数个1为1,奇数个1为0.)
:A1060301
A1 06 03 01
1010 0001 A1
+ 0000 0110 06
-----------------------
1010 0111
+ 0000 0011 03
---------------------------
1010 1010
+ 0000 0001 01
----------------------------
1010 1011
补: 0101 0101 ------- 55
:A1060301550D0A(字符串)