code to work with the gyro and accel
Merge pull request #1 from qj358927/master

code to work with the gyro and accel