1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_mma8652
2017-01-10 11:52:36 +01:00
..
main.c mma8652: add support for all mma8x5x accelerometers 2016-11-16 14:14:07 +01:00
Makefile drivers: use I2C_DEV(x) instead of deprecated I2C_x 2017-01-10 11:52:36 +01:00
README.md add test app for mma8652 accelerometer driver 2015-01-08 11:44:39 +01:00

About

This is a manual test application for the MMA8652 accelerometer driver.

Usage

This test application will initialize the MMA8652 sensor with the following parameters:

  • full scale parameter set to +/-2 g
  • 6.25 Hz output data-rate

After initialization, the sensor reads the x-, y-, z-axis values every 1 s and prints them to STDOUT.