put the code for the interrupt pin but broke the FIFO
Corrected quaternion constant.
Corrected indentation.
Simplified if statement in main loop.
Calibrate based on Euler angles not quaternion differences.
Incorrect use of abs() rather than fabs() in calibration routine.
Fixed signs and order of Euler angles.
Added spinner for calibration heartbeat.