DE910-DUAL AT commands reference guide
80392ST10102A Rev.2 – 2012-07-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 121 of 261
#SLED - STAT_LED GPIO Setting
AT#SLED=<mode>
[,<on_duration>
[,<off_duration>]]
Set command sets the behaviour of the
STAT_LED
GPIO
Parameters:
<mode>
- defines how the
STAT_LED
GPIO is handled
0 - GPIO tied
Low
1 - GPIO tied
High
2 - GPIO handled by Module Software (factory default)
3 - GPIO is turned on and off alternatively, with period defined by the sum
<on_duration> + <off_duration>
<
on_duration
> - duration of period in which
STAT_LED
GPIO is tied
High
while
<mode>=3
1..100 - in tenth of seconds (default is 10)
<
off_duration
> - duration of period in which
STAT_LED
GPIO is tied
Low
while
<mode>=3
1..100 - in tenth of seconds (default is 10)
Note: values are saved in NVM by command
#SLEDSAV
Note: at module boot the
STAT_LED
GPIO is always tied
High
and holds this
value until the first NVM reading.
Note: Set
AT#GPIO=1,0,2
to enable LED on the EVK.
AT#SLED?
Read command returns the
STAT_LED
GPIO current setting, in the format:
#SLED: <mode>,<on_duration>,<off_duration>
AT#SLED=?
Test command returns the range of available values for parameters
<mode>
,
<on_duration>
and
<off_duration>
.
Example
AT#SLED=?
#SLED: (0-3),(1-100),(1-100)
OK
AT#SLED?
#SLED: 2,10,10
OK
AT#SLED=0
OK
AT#SLED=0
OK
AT#SLED=1
OK
AT#SLED=2
OK
AT#SLED=3,50,50
OK
Содержание DE910-DUAL
Страница 1: ...80392ST10102A Rev 2 2012 07 03...