How to get degrees of rotation from raw acceleration data?

OhItsTarik:
correct me if i'm wrong, but accelerometer measures acceleration, correct? So It also measures the earths/gravitational acceleration and can determine tilt from that.

Not when it's mounted to an aircraft. Then it measures the amount of lift that the wings are generating. It cannot know which direction the wings are pointing.

There must be a zillion Arduino autopilot projects out there on the internet. Is Google broken today?