1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_lsm6dsl
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 drivers, lsm6dsl: update test, and add README 2017-07-03 17:21:24 +02:00

About

This is a manual test application for the ST LSM6DSL sensor driver.

Usage

After successful initialization, the sensor reads the accelerometer, gyroscope, and temperature values every 500ms and prints them to the STDOUT. If device initialization fails the tests exits with 1, otherwise it runs forever.

Note: reading sensor values may fail even on successful initialization.