mirror of
https://github.com/eclipse/upm.git
synced 2025-03-26 02:10:02 +03:00

Adding STMicro LIS3DH sensor support. This module is based on the one for lis2ds12 (thanks, jontrulson!), but as sensors are noticeably different, the contents underwent major rework. Examples and basic API are left the same. Tested on Intel Edison with Arduino board using both I2C and SPI. Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
10 lines
252 B
CMake
10 lines
252 B
CMake
upm_mixed_module_init (NAME lis3dh
|
|
DESCRIPTION "3-Axis Digital Accelerometer"
|
|
C_HDR lis3dh.h lis3dh_defs.h
|
|
C_SRC lis3dh.c
|
|
CPP_HDR lis3dh.hpp
|
|
CPP_SRC lis3dh.cxx
|
|
FTI_SRC lis3dh_fti.c
|
|
CPP_WRAPS_C
|
|
REQUIRES mraa utilities-c)
|