Rock-and-roll position feedback!

Use the three-axis accellerometer for motion feedback control. The accellerometer can sense positive or negitive board motion on all three axes. It can also determine which way is up should your robot take a tumble. Accelleration and relative direction can be calculated. Your BOT can sense an incline, motion and lack of gravity (freefalling).