Result:
AT-S.Value:<value>
<value>
Specifies the ADC value
6.20
AT+S.PWM
The PWM command enables PWM on the selected GPIO, with a specified frequency and duty-cycle.
Usage:
AT+S.PWM=<num>,<frequency>[,<duty_cycle>]<cr>
Parameters:
<num>
specifies the GPIO to be used for PWM. Available GPIOs are
2 and 4
<frequency>
value between 1 and 10 kHz. The value=0 disables PWM
<duty_cycle>
default: 50%. The value is in the 0 - 100 range.
6.21
AT+S.TIME
Command to get or set the time (date, time)
Usage:
1)
AT+S.TIME<cr>
returns the current date in the format “AT-
S.Date:yy.mm.dd:nn” and the current time in the format “AT-
S.Time:hh:mm:ss”. The time refers to UTC format and must
be expressed as the time in seconds since 1970-Jan-01.
2)
AT+S.TIME=<time>
sets the time as specified by the parameter
Parameters:
<time>
value to set the time. The time refers to UTC format and it
must be expressed in seconds since 1970-Jan-01.
Result:
AT-S.Date:<yy>.<mo>.<dd>:<day>
AT-S.Time:<hh>.<mi>.<ss>
<yy>
Specifies the year
UM2114
AT+S.PWM
UM2114
-
Rev 3
page 19/66