Added basic code to read and write accel data to serial