accelerometer

code for accelerometer for