User Manual
Table Of Contents
User Guide
©2008-2020 Seeed Technology Co., Ltd. All rights reserved. solution.seeedstudio.com
18 / 23
CCCC
2byte
CRC CHECK
Common request format:AA 06 RRRR VVVV CCCC
AA
1byte
Address, 0-255
06
1byte
Function number6
RRRR
2byte
Register address, high byte in front
VVVV
2byte
To write the value of the register, the high byte is
in the front
CCCC
2byte
CRC CHECK
For example: to write register 0x0021, namely the temperature unit for Fahrenheit cases
Ask:01 06 0021 0001 1800
Address
1byte
0x01
Function number
1byte
0x06
Start register
address
2byte
0x0021
Register number
2byte
0x0001
Check
2byte
0x1800
Respond:01 06 0021 0001 1800
Address
1byte
0x01
Function number
1byte
0x06
Start register
address
2byte
0x0021
Register number
2byte
0x0001
Check
2byte
0x1800
5.4.4 Function number 16 communication sample
Common request format:AA 10 RRRR NNNN MM VVVV1 VVVV2 …CCCC
AA
1byte
Address, 0-255
10 (HEX)
1byte
Function number16 (10 binary system)