ADXL335 breakout board as a tilt switch

readout this link http://www.arduino.cc/en/Tutorial/ADXL3xx