Rainbow Electronics MG260 User Manual

Page 181

Advertising
background image

FLYFOT-MG260-MODULE

Page: 181 / 246

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

OK
On reset, all GPIOs are set to 0, as an output.

AT+WIOM=?

+WIOM: (0-255),(0-255)
OK
Range allowed for the parameters.

AT+WIOM=254
Set GPIO 0 as an input, and all others as outputs.

OK

AT+WIOM=,128
Set GPIO8 or GPO 3 default output value to 1.

OK

AT+WIOM?

+WIOM: 254,128
OK

Defined values

<GpioDir> : Bit table parameter indicating each GPIO direction.

0 : input
1 : output (default value).
Default value : 255 (all GPIOs set as outputs).

<GpioVal> : Bit table parameter indicating each output-configurated GPIO value (each bit gives the
corresponding GPIO default value).

0 : reset (default value)
1 : set
Remark : the GPIOs set as inputs by the <GpioDir> parameter are not affected by the value set by the

<GpioVal> parameter.


Notes :

z

<GpioDir> bit values for GPI and GPO are ignored.

z

<GpioVal> bit values for GPI are ignored.

18.11 Play DTMF tone +TFTONE

Description :

This specific command allows a DTMF tone to be played on the current speaker or on the buzzer.
Frequency, gain and duration can be specified.

Syntax :

Command syntax: AT+TFTONE=<mode>[,<dest>,<freq1>,<freq2>,<gain>,<duration>]

Advertising