adxl345, Arduino and Processing gaming interface

This is only the beginning of a bigger project - accelerometer driven flight game - the hardware interface.

It's an ADXL345 3axis accelerometer plugged through an Arduino, who's output is then passed to a Processing application through serial port

http://www.youtube.com/watch?v=BJeohcZssBU

I've made a blogpost with all the details on how I wired and coded this thing, figured it might be more useful than the movie :D

It's here