cancel
Showing results for 
Search instead for 
Did you mean: 

i am using lis2ds12 for step counting

NASOK.1
Associate II

IT IS WORKING WELL , I NEED INSIGHT ON HOW I COULD RESET THE STEP VALUE TO ZERO ON THE BUTTON INTERRUPT 

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

Hi @NASOK.1 ,

Have a look at AN4748 at page 28,  The step count can be reset to zero by setting the RST_NSTEP bit of the STEP_COUNTER_MINTHS register to 1.

If this helps you, please mark my answer as "Best Answer" by clicking on the "Accept as Solution" button, this can be helpful for Community users to find this solution faster.

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.

View solution in original post

1 REPLY 1
Federica Bossi
ST Employee

Hi @NASOK.1 ,

Have a look at AN4748 at page 28,  The step count can be reset to zero by setting the RST_NSTEP bit of the STEP_COUNTER_MINTHS register to 1.

If this helps you, please mark my answer as "Best Answer" by clicking on the "Accept as Solution" button, this can be helpful for Community users to find this solution faster.

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.