Chengdu Ebyte Electronic Technology Co., Ltd.
E104-BT20 User Manual
_________________________________________________________________________________________________
Copyright ©2012–2020, Chengdu Ebyte Electronic Technology Co., Ltd.
14
for example:
1. GPIO1 and GPIO5 pull-down inputs, and the remaining pull-up inputs
Command: AT + MPII = 22
Answer: OK
2. GPIO3 outputs high level and the rest outputs low level
Command: AT + MPIO = 08
Answer: OK
3. GPIO7 outputs high level and the rest outputs low level
Command: AT + MPIO = 80
Answer: OK
4.All pins output low level
Command: AT + MPIO = 00
Answer: OK
6.2.17 Querying GPIO Port Status
Command
Answer
Parameter
AT+MPIO?
+ MPIO:<param>OK
param: GPIO port value (8bits)
param [bit 0] is invalid
param [bit 1] = GPIO1
...
param [bit 7] = GPIO7
If GPIOX is output
0—low
1—high
If GPIOX is input
0—pull up
1—Drop down
The module provides users with IO port resources, a total of 8, GPIO0 ~ GPIO7, users can use to expand input and
output ports.
6.2.18 Remove all authenticated devices from the Bluetooth pairing list
Command
Answer
Parameter
AT+RMAAD
OK
None
For Example:
Command:AT+RMAAD
Answer:OK