README.rst
1.. _fxas21002:
2
3FXAS21002 Gyroscope Sensor
4##########################
5
6Overview
7********
8
9A sensor application that demonstrates how to use the fxas21002 data ready
10interrupt to read gyroscope data synchronously.
11
12Building and Running
13********************
14
15This project outputs sensor data to the console. It requires an fxas21002
16sensor, which is present on the :ref:`hexiwear` board. It does not work on
17QEMU.
18
19.. zephyr-app-commands::
20 :zephyr-app: samples/sensor/fxas21002
21 :board: hexiwear/mk64f12
22 :goals: build
23 :compact:
24
25Sample Output
26=============
27
28.. code-block:: console
29
30 X= -2.063 Y= 0.813 Z= 0.188
31 X= -1.750 Y= 1.063 Z= 0.063
32 X= -2.000 Y= 0.625 Z= 0.063
33 X= -2.188 Y= 0.625 Z= 0.188
34 X= -2.125 Y= 1.313 Z= -0.063
35 X= -2.188 Y= 1.188 Z= 0.313
36
37<repeats endlessly>
38