I just want to measure acceleartion. Basically if acceleration>threshold, do something.
However i can't get a good measurement. I dont understand what the raw values mean (these values are occuring when im moving the sensor):
I want to use these values to come up with an acceleration number but every attempt so far has come up with failure. Please could someone help me code a way of just getting acceleration???