2020-07-15 02:25 AM
2020-07-17 02:51 AM
Hi @AG.1 , adding Arduino topic since I'm not an expert in this field. I see that there are some examples involving LIS3DH on Github (for example HERE), although none of them implements the pedometer with this device. You could however base your code on the tapdemo.ino which is the tap recognition demo, and implement the steps for the pedometer app (quite complexes, as described for example HERE).
As a general remark, please note that iNemo modules such as LSM6DSO are more suitable to implement the pedometer application.
Regards