At#gpio=4,<dummy_value>,2<cr – Rainbow Electronics GE863-GPS low power User Manual

Page 83

Advertising
background image





GE863-GPS Software User Guide

1vv0300724 Rev. 3 - 05/07/07

Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved

page 83 of 122


For example:
1- Let's assume you want to set the GPIO3 pin HIGH:
command:
AT#GPIO=3,1,1<cr>
response:
OK
In this case, the GPIO3 pin was set in output direction and its status has been set to HIGH.


3.6.2.3 Using GPIO4 pin as RF Transmission Control (alternate function)

When you set the GPIO4 pin as RF Transmission Control input function, the pin forces the Transmitter
to be OFF when the application set to LOW the line. To set the pin in alternate function you must
specify also a dummy value for the pin state:

Send command

AT#GPIO=4,<dummy_value>,2<cr>

where:
<value> is a dummy value can be either:

0 – dummy value
1 – dummy value

wait for response

OK

TIP: Remember that the alternate function places the GPIO4 pin always in INPUT direction.

NOTE: The #GPIO4 direction setting is saved and will be kept after a power off.
The saving can be applied only for the alternate mode.



Advertising