Example:55 61 11 00 16 00 02 00 02 00 00 00 01 00 E6 0A 43 00 47 00 0A 00 25 00 25 00 25 00
HZX[15:0]=(((short)HZXH <<8)|HZXL) = 0x0025 = 37(Hz)
HZY[15:0]=(((short)HZYH <<8)|HZYL) = 0x0025 = 37(Hz)
HZZ[15:0]=(((short)HZZH <<8)|HZZL) = 0x0025 = 37(Hz)
5.3 Host computer to module
Read register packet
The single return packet needs to send the register reading instruction first. The
instruction format is as follows:
XX refers to the number of the corresponding register. The number of the register is
referred to. The example of sending instructions is as follows:
After sending this instruction, the module will send back a data packet starting with
0x55 0x71, which contains the data corresponding to the start register address, the
start register address and the following 7 register data (8 registers are fixed to be
uploaded). The format of the return data is as follows:
Start register (2Byte) + Register data (16Byte,8 registers)
Start
register
address
low
Start
register
address
high
The
number
of register
1 is high
Note: 0xNN is the specific value received, with the low byte first and the high byte
second.
Set instruction description
Unlock (useful for 10 seconds)
FF AA register address Register value Low
register value high