1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_lis2dh12
Marian Buschsieweke 12140ffb0e
examples,tests: Drop redundant dependency
When depending on one or more shell commands, the shell is pulled in
as dependency anyway.
2023-04-19 16:58:10 +02:00
..
app.config.test examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
main.c drivers/lis2dh12: migrate to ztimer 2021-12-11 16:53:14 +01:00
Makefile examples,tests: Drop redundant dependency 2023-04-19 16:58:10 +02:00
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md tests: add test for lis2dh12 device driver 2018-01-18 18:39:43 +01:00

About

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

Usage

This test application will initialize the accelerometer with its default parameters (as defined in drivers/lis2dh12/include/lis2dh12_params.h:

  • LIS2DH12_PARAM_SCALE: 100Hz
  • LIS2DH12_PARAM_RATE: 2G

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