
- 27 -
www.hzgrow.com
Header
Module
address
Package
identifier
Package length
Instruction code
Checksum
0xEF01
xxxx
0x01
0x0003
0x3D
sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Checksum
0xEF01
xxxx
0x07
0x0003
X
sum
Note 1: Confirmation code=0x00: success;
Confirmation code=other: device is abnormal
After module reset, 0x55 will be automatically sent as a handshake sign. After the single-chip
microcomputer detects 0x55, it can immediately send commands to enter the working state.
Aura control
AuraLedConfig (0 x35)
Description: Aura LED control
Input Parameter: Control code:Ctrl; Speed; ColorIndex;Times
Return Parameter: Confirmation code
Instruction code: 0x35
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
1 byte 1 byte 1 byte
2 bytes
Header Module
address
Package
identifier
Package
length
Instruction
code
Control
code
Speed
Color
Index
Times Checks
um
0xEF0
1
xxxx
0x01
0x0007
0x35
Ctrl
Speed
Color
Index
Count
sum
Control Code:
Control
code
0x01
0x02
0x03
0x04
0x05
0x06
Function breathing
light
Flashing
light
Light
Always
on
Light
Always
off
Light
gradually
on
Light
gradually
off
Speed: 0x00-0xff, 256 gears,Minimum 5s cycle.
It is effective for breathing lamp and flashing lamp,Light gradually on,Light gradually off
ColorIndex:
Code
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Color
Red
Blue
Purple
Green
Yellow
Cyan
White
Number of cycles: 0- infinite, 1-255.
It is effective for with breathing light and flashing light.
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Checksum