zephyr/samples/sensor/fxos8700
David B. Kinder ac74d8b652 license: Replace Apache boilerplate with SPDX tag
Replace the existing Apache 2.0 boilerplate header with an SPDX tag
throughout the zephyr code tree. This patch was generated via a
script run over the master branch.

Also updated doc/porting/application.rst that had a dependency on
line numbers in a literal include.

Manually updated subsys/logging/sys_log.c that had a malformed
header in the original file.  Also cleanup several cases that already
had a SPDX tag and we either got a duplicate or missed updating.

Jira: ZEP-1457

Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-01-19 03:50:58 +00:00
..
src license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
README.txt
prj.conf
testcase.ini

README.txt

Title: fxos8700

Description:

A sensor application that demonstrates how to use the fxos8700 data ready
interrupt to read accelerometer/magnetometer data synchronously.

--------------------------------------------------------------------------------

Building and Running Project:

This project outputs sensor data to the console. It requires an fxos8700
sensor, which is present on the frdm_k64f and hexiwear_k64 boards. It does not
work on QEMU.

    make BOARD=frdm_k64f
or
    make BOARD=hexiwear_k64

--------------------------------------------------------------------------------

Sample Output:

AX=  9.835380 AY=  0.009576 AZ=  0.383072 MX=  0.015000 MY=  0.509000 MZ=  1.346000
AX=  9.816226 AY=  0.038307 AZ=  0.497993 MX=  0.029000 MY=  0.522000 MZ=  1.350000
AX=  9.844957 AY=  0.067037 AZ=  0.430956 MX=  0.025000 MY=  0.518000 MZ=  1.353000
AX=  9.835380 AY=  0.038307 AZ=  0.497993 MX=  0.026000 MY=  0.507000 MZ=  1.352000
AX=  9.825803 AY=  0.057460 AZ=  0.421379 MX=  0.030000 MY=  0.502000 MZ=  1.342000
AX=  9.816226 AY=  0.019153 AZ=  0.478840 MX=  0.017000 MY=  0.523000 MZ=  1.318000
AX=  9.835380 AY=  0.000000 AZ=  0.507570 MX=  0.014000 MY=  0.502000 MZ=  1.367000

<repeats endlessly>