changed handle check to loop and print accel data
Merge branch 'branch_rex'