When I turn right, turn left, left, right I want to give a value.
Give what value to what?
If you mean that you want to convert the acceleration data (rate of change of velocity) to angle values, you need to integrate the rate of change of velocity over time, to get velocity (rate of change of location), and then integrate that over time to get location (angle). There are plenty of examples around concerning how to do this. Accelerometers are commonly used on flying contraptions to keep them level and heading in the (vaguely) right direction.