A simple way to integrate ADXL 335 with Arduino UNO with the example sketch demonstrated in the blog
http://sumerulabs.in/blog/2015/03/04/adxl335-with-arduino/