So, I\'m connected via Bluetooth to an accelerometer. This device every second is updating values in an array [x,y,z].
Example: [-0.21, 0.01, 0.96] [-0.22, 0.01, 0.96]