cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DW12 resource request

JW.3
Associate

I am wondering if you could provide any sample code for testing the LIS2DW12 on Arduino if you have any? Thanks!

2 REPLIES 2
Legacy member
Not applicable

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

Miroslav BATEK
ST Employee

ST provides PID (Platform Independent Drivers) on GitHub

https://github.com/STMicroelectronics/STMems_Standard_C_drivers

It can be ported to Arduino.