Chengdu Ebyte Electronic Technology Co.,Ltd.
E180-ZG120A User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
1
requirements, the two parameters of rejoin period and Rejoin maxcount need to be set larger by default, both of
which are set to 5
6.6.19 Wireless remote configuration ID
Remote Header: 0x0000 0x0000 indicates the wireless network configuration is turned off, 0x0001
~
0xFFFF
indicates the remote configuration is turned on, and the default setting is 0xa88a (0xa8 0x8a).
6.6.20 User gpio parameter
Gpio: Format of peripheral configuration data (3 bytes) GpioId In/Out level
gpioid : Channel ID
Channel ID
GPIO Port
00
PB14 Port
01
PB15 Port
02
PC6 Port
03
PC7 Port
In/Out: Channel output / input mode
0 Output
1 Input
level: Channel Level state
0 Low level
1 High level
2 Flip
Note: When configured as input, the level indicates the input level value is 0 (low level) or 1 (high level). When the
output is configured, the level indicates 0 (low level), 1 (high level), 2 (Level flip) output.
6.6.21 User pwm parameter
Pwm
Peripheral configuration data format
(
6 Byte
):
PwmId start/stop Period1 Period2
duty1 duty2
PwmId :
Channel ID
Channel ID
PWM GPIO Port
0x00
PF2 Port
0x01
PF3 Port
0x02
PF4 Port
0x03
PF5 Port
0x04
PF6 Port
start/stop:Start/stop channel PWM output
0xFF Start PWM
0x00 Stop PWM
period
:
pwm period time
(
Unit 1 = 1ms
)
Recommended setting range 0x0A
~
0xFFFF
Period1 High 8 bits of period
Period2 Low 8 bits of period