
Originally Posted by
gillyd
As far as I can tell, using just the Sensor API gives you directional information. As in - turn over and flip.
The AXYZ module gives number feedback of the x,y,z coordinates.
I don't think so, but I really don't know. I'm guessing that if you remove this line, you might get coordinate info:
Code:
sensor_acc.set_event_filter(sensor.OrientationEventFilter())
As far as I know, that line makes the Sensor API to tell nothing but turning info. Since I don't have sensor device, I cannot test
But when I get such a device, I'll expand the sample 
--jouni