Sensing Orientation/Accelerometer/ADXL345/Arduino

The is an actual article on how to sense orentation using an adxl accelerometer, and your arduino.