Go to file
2023-12-21 23:29:22 +00:00
doc working simple example 2023-12-21 23:29:22 +00:00
i2c.c working simple example 2023-12-21 23:29:22 +00:00
i2c.h working simple example 2023-12-21 23:29:22 +00:00
lis3dh.c working simple example 2023-12-21 23:29:22 +00:00
lis3dh.h working simple example 2023-12-21 23:29:22 +00:00
main.c working simple example 2023-12-21 23:29:22 +00:00
Makefile working simple example 2023-12-21 23:29:22 +00:00
README.md working simple example 2023-12-21 23:29:22 +00:00
registers.h register map 2023-12-19 10:21:48 +00:00

LIS3DH

3-axis accelerometer

$ ./lis3dh 
init OK
configure OK
poll OK
read OK
x: 0.552, y: -0.864, z: -0.152
mag: 1.04
deinit OK