Skip to main content
Visitor II
July 25, 2023
Solved

i am using lis2ds12 for step counting

  • July 25, 2023
  • 1 reply
  • 953 views

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

    This topic has been closed for replies.
    Best answer by Federica Bossi

    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.

    1 reply

    Technical Moderator
    July 28, 2023

    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.