1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_lis3dh
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 drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ 2018-08-29 08:53:20 +02:00
README.md lis3dh: New device driver for LIS3DH accelerometer sensors. 2015-01-20 14:53:27 +01:00

About

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

Usage

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

  • Sampling Rate: 100Hz
  • Scale: 4G
  • Temperature sensor: Enabled

After initialization, the sensor reads the acceleration values every 100ms and prints them to the STDOUT.