Skip to content

Latest commit

 

History

History
 
 

driver_lis2dh12

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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.