http://www.wavecom.com/forum Open AT ® Release version: 3.13 |
This sample depends on the following libraries :
This application uses the Digital Analog Converter (DAC) on the Q2501.
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)
Command | Answers |
AT+START? | +START:
<state>
OK |
AT+START=? | +START:
(0-1)
OK |
AT+START= <state> | +CME ERROR: 3 or OK |
Parameter | Values range | Description | Default value |
state | 0-1 | The 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)
Command | Answers |
AT+DACLEVEL? | +DACLEVEL:
<level>
OK |
AT+DACLEVEL=? | +DACLEVEL:
(0-255)
OK |
AT+DACLEVEL= <level> | ERROR or OK |
Parameter | Values range | Description | Default value |
level | 0-255 | The current output level. | 0 |
Updated: Wed Apr 4 13:11:07 CEST 2007;