User Activity

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...