Use the Proteus SDK to create a DLL. Here is the logic draft for the source code:

For projects requiring a pure gyroscope (without an accelerometer), the STMicroelectronics L3G4200D is an excellent choice. It offers selectable scales (250/500/2000 dps).

Proteus natively supports generic I2C EEPROMs and accelerometers, but a dedicated gyroscope library is a third-party asset. Fortunately, the engineering community has developed robust solutions.

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);