The accelerometer (sensor library) does not return correct values for me. I don't understand what's happening with it.
I found this description of what the x,y,z values represent:
"Acceleration is defined such that a device in free fall has an accleration value of (0, 0, 0). Thus a stationary device will have an acceleration value of (0, 0, -1) since it is being acted on with 1g of force by the Earth's gravity. When the device is stationary, the acceleration vector will thus indicate the downward direction."
I don't get these values at all. Anyone got this Sensor Library call working?
I found this description of what the x,y,z values represent:
"Acceleration is defined such that a device in free fall has an accleration value of (0, 0, 0). Thus a stationary device will have an acceleration value of (0, 0, -1) since it is being acted on with 1g of force by the Earth's gravity. When the device is stationary, the acceleration vector will thus indicate the downward direction."
I don't get these values at all. Anyone got this Sensor Library call working?