Processing code for reading output of accelerometer