interfacing accelerometer to raspberry pi