03.01.2015 Views

GE863-QUAD / PY Software User Guide

GE863-QUAD / PY Software User Guide

GE863-QUAD / PY Software User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>GE863</strong>-<strong>QUAD</strong> / <strong>PY</strong> <strong>Software</strong> <strong>User</strong> <strong>Guide</strong><br />

1vv0300746 Rev. 1 - 23/10/06<br />

For example:<br />

1- Let's assume you want to set GPIO3 pin as Output and you want it to be in LOW status:<br />

command:<br />

AT#GPIO=3,0,1<br />

response:<br />

OK<br />

In this case, the GPIO3 pin was successfully put in output direction and its status has been set to<br />

LOW.<br />

3.5.1.2 Setting GPIO pin as INPUT<br />

When you set a GPIO as input, you must specify also a dummy value for the pin state:<br />

• Send command AT#GPIO=,,0<br />

where:<br />

is the GPIO pin number at which the command applies:<br />

1 – GPIO1 10 – GPIO10<br />

2 – GPIO2 11 – GPIO11<br />

3 – GPIO3 12 – GPIO12<br />

4 – GPIO4 13 – GPIO13<br />

5 – GPIO5 14 – GPIO14<br />

6 – GPIO6 15 – GPIO15<br />

7 – GPIO7 16 – GPIO16<br />

8 – GPIO8 17 – GPIO17<br />

9 – GPIO9 18 – GPIO18<br />

is a dummy value can be either:<br />

0 – dummy value<br />

1 – dummy value<br />

• wait for response OK<br />

NOTE: The #GPIO setting for all GPIO except from GPIO6, GPIO7, is not saved and will be lost<br />

on power off, so at start-up repeat pin initialization commands.<br />

At start-up all the GPIOs except from GPIO6 & GPIO7 are configured by default as INPUT, but<br />

the setting for GPIO6 and GPIO7 instead is maintained even after a shutdown to permit alarm &<br />

buzzer feature to work always.<br />

For example:<br />

1- Let's assume you want to set GPIO4 pin as Input:<br />

command:<br />

AT#GPIO=4,0,0<br />

response:<br />

OK<br />

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 83 of 117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!