9 write gpio value +wiow, 1 description, 2 syntax – Rainbow Electronics 900 User Manual

Page 179: 3 defined values, 10 input/output management +wiom, Write gpio value +wiow, 10 input/output, Management, Wiom

Advertising
background image

FLYFOT-M260-MODULE

Page: 179 / 239

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

18.9.1 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.

18.9.2 Syntax

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

18.9.3 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

18.10.1 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.

18.10.2 Syntax

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

Possible responses

AT+WIOM?

+WIOM: 255,0

Advertising