2018-08-15 01:13 PM
I am wondering if you could provide any sample code for testing the LIS2DW12 on Arduino if you have any? Thanks!
2018-08-16 12:41 AM
Hello,
It seems that Avnet published some code on GIthub. Not for Arduino, probably some demonstration board, but seems to have the register mapping and functionality. Since it is written in C, it should be easily portable.
https://github.com/Avnet/M18QxIotMonitor/blob/master/lis2dw12.c
David
2018-08-16 04:46 AM
ST provides PID (Platform Independent Drivers) on GitHub
https://github.com/STMicroelectronics/STMems_Standard_C_drivers
It can be ported to Arduino.