mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
6e18769dbb
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, tests must first be changed so that they use the inline comparison functions. |
||
---|---|---|
.. | ||
main.c | ||
Makefile | ||
README.md |
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
: 100HzLIS2DH12_PARAM_RATE
: 2G
After initialization, the sensor reads the acceleration values every 100ms and prints them to the STDOUT.