Added accelerometer and display on lcd