Arduino + Lego NXT

I'll bite. How are you measuring the tilt? A accelerometer, a gyroscope or both? Or, are you doing it with distance sensors?

Tom