http://www.wavecom.com/forum

Open AT ®  Release version:
4.10

Sample - DAC

Changes

Dependencies

This sample depends on the following libraries :

Application Description

This application uses the Digital Analog Converter (DAC) on the Q2687.
This application starts by opening a DAC chanel.
Once opened, the current DAC channel can be drive. The output voltage depends on the module type (please refer to the module Product Technical Specification document for more information).

As this application uses the MultiApp library, the following start/stop command has to be used to control the application execution.

 

  AT+START (DAC start/stop command)
CommandAnswers
AT+START?+START: <state>
OK
AT+START=?+START: (0-1)
OK
AT+START= <state> +CME ERROR: 3
or
OK
 
ParameterValues rangeDescriptionDefault value
state0-1The current application running state. This parameter is stored in non-volatile memory.0

The init entry point sent to the MultiApp library is the dac_init() function. The start/stop entry points linked to the +START command are the dac_run() and dac_stop() functions.

 

  AT+DACLEVEL (Set the DAC level output)
CommandAnswers
AT+DACLEVEL?+DACLEVEL: <level>
OK
AT+DACLEVEL=?+DACLEVEL: (0-255)
OK
AT+DACLEVEL= <level> ERROR
or
OK
 
ParameterValues rangeDescriptionDefault value
level0-255The current output level.0

Updated: Tue Sep 19 17:06:07 CEST 2006;