lis2de12 pedometer
I am trying to use the lis2de12 as a activity level detector.
By reading some posts here in the community I guess I need to setup HighPass filtering and a threshold so it gives interrupts everytime there is a movement bigger then a certain force.
But I have no clue how to setup all the registers. The datasheet only describes how to setup postion detection and fifo etc. I also found a driver but that only has functions to set the registers individualy. I cannot find any samples to setup ( IA1?) motion detection
For example when I look in the datasheet for the HighPass filter there is a mode that
Autoreset on interrupt event. Do I need this ? And do I need to clear the interrupt in a register when there was one ?
