![ST eMotion Скачать руководство пользователя страница 32](http://html.mh-extra.com/html/st/emotion/emotion_user-manual_1355657032.webp)
Supported commands
UM0979
32/39
DocID017768 Rev 4
4.3 Quick
start
This section shows the basic sequence of commands, based on the LIS3DH accelerometer,
to start a data communication session and to retrieve the X, Y, and Z acceleration data from
the demonstration kit:
1.
Connect the eMotion to the USB port
2. Start
“Microsoft
©
HyperTerminal” and configure it as described in
Section 4.1
3. Inside the “HyperTerminal” window, enter the command *setdb105v1 (supposing the
LIS3DH adapter board is used, for other adapters see the relevant datasheets to check
the register configuration), enter the command *Zoff to enable the control of the device
by the STM32F103RET6 microcontroller, and *w2047 to switch on the LIS3DH and to
set the data rate to 50 Hz
4. Send the *debug command to get the X, Y, and Z data measured by the sensor
5. Send *stop to end the continuous acquisition and visualization.
*list
Prints the list of MKIs supported
e.g.: MKI105V1
*listdev
Prints the list of devices supported
e.g.: LIS3DH
*echoon
Activates the write verbose mode
e.g.: PRAAhDDh
*echooff
Deactivates the write verbose mode
Table 12. Digital output humidity sensor: supported commands list (continued)
Command
Description
Returned value