Skip to main content
Associate
February 10, 2026
Question

LIS2DW12 accelerometer Arduino

  • February 10, 2026
  • 3 replies
  • 253 views

Hi  

 

I am looking for example code for the LIS2DW12 using Arduino code . I am using an Expressiff module esp32 C3 

Does anyone have some example code ?

3 replies

Federica Bossi
Technical Moderator
February 11, 2026

Hi @Pro-tec ,

Have a look at our official drivers on Github.

Hope this helps!

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Pro-tecAuthor
Associate
February 12, 2026

Hi

 

Not really .  I am looking for Tap examples for LIS2DW12 .

 

Best regards

 

Andrew Neil
Super User
February 12, 2026

This forum is mostly focussed on "traditional" development - not many Arduino users here.

You'd be better asking on the stm32duino or regular Arduino forums:

https://www.stm32duino.com/

https://forum.arduino.cc/c/other-hardware/196

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
KWine
Senior
April 17, 2026

These here are written for the STM32L4 but should be easily adapted to the ESP32.