Rainbow Electronics MG260 User Manual

Page 180

Advertising
background image

FLYFOT-MG260-MODULE

Page: 180 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

<value>

0: I/O port number <index> is reset.
1: I/O port number <index> is set.

18.9 Write GPIO value +WIOW

Description

Set the requested GPO or GPIO pin value.
Note :

z

by default (after a reset), the I/O ports configuration is set by the +WIOM command.

z

This command is allowed only on a GPIO not allocated by the Open-AT embedded application
or for bus operations.

Syntax

Command syntax: AT+WIOW=<index >,<value>

Defined values

<index>
Eight I/O ports are available. The <index> value is between 0 and 7.

<value>

0: I/O port number <index> is reset.
1: I/O port number <index> is set.

18.10 Input/Output Management +WIOM

Description

This specific command allows to set the default GPIOs configuration (input or output) after reset, and
each GPIO default value (if set as an output) after reset.
Note :

z

This command is allowed only on a GPIO not allocated by the Open-AT embedded
application or for bus operations.

Syntax

Command Syntax AT+WIOM=[<GpioDir>],[<GpioVal>]
Command

Possible responses

AT+WIOM?

+WIOM: 255,0

Advertising