Hi everyone,
I know this may very easy to some, but can you advice me how to interpret the following values bellow received from USART in order for me to turn a motor clockwise or counter clockwise.
Code:
x -17 y 40 z -39
x -17 y 38 z -35
x -17 y 39 z -36
x -15 y 41 z -34
x -14 y 41 z -34
x -14 y 43 z -34
x -14 y 42 z -33
x -13 y 42 z -34
x -12 y 42 z -34
x -13 y 43 z -35
These values came from a mobile phone with accelerometer sensor.

Thanks in advance,
joe