This is a ready-to-use PRIMER2 extension to the yst's project 'Inertial Center 1.0'.
Few changes were made: (compared to the yst's version)
GPIO PIN numbers were remapped.
Coordinates of display messages were changed so that they fit the Primer2 screen dimensions.
At the beginning of the Application_handler calls of
TIM_Cmd(TIM2, Enable) and Gyro_Init() were added. Otherwise I2C bus hangs in HIGH state,
ie. bus freezes right in the 2nd pass through the Application_handler.