1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_mag3110
Benjamin Valentin 41745859bb tests: replace SLEEP define
The SLEEP define collides with an Arduino header file.
Rename the define to resolve the conflict.
2019-10-10 10:47:38 +02:00
..
main.c tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
Makefile tests/driver_*: Rely on Makefile.dep for FEATURES_REQUIRED 2018-08-26 09:34:58 +02:00
README.md add test app for mag3110 magnetometer driver 2015-01-09 11:11:01 +01:00

About

This is a manual test application for the MAG3110 magnetometer driver.

Usage

This test application will initialize the MAG3110 with the following parameters:

  • output rate set to 1.25 Hz
  • over sample ratio set to 128

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