accelerometer

this is project 2 + demo accelerometer code