1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_lis2dh12
Leandro Lanzieri 20c5552920
tests: add Kconfig configuration files for multiple driver tests
Configurations for the following applications have been added:

l3g4200d
lc709203f
lis2dh12
lis3dh
lis3mdl
lpd8808
lpsxxx
lsm303dlhc
lsm6dsl
ltc4150
mag3110
mhz19
mma7660
mma8x5x
motor_driver
mpl3115a2
mpu9x50
mq3
nvram_spi
mtd_flashpage
mtd_mapper
2021-01-18 10:44:30 +01:00
..
app.config.test tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
main.c tests/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
Makefile drivers/lis2dh12: added interrupt function 2020-03-04 17:01:58 +01: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.