Change the world

The class library that will be used in this section is:

  • GYRO_DISCO_F429ZI  (Author: Team ST, Dec 2015, search: "GYRO_DISCO") - Class library to drive the L3GD20 3-axis digital gyroscope present on the STM32F429ZI-Discovery board.


As this library requires additional board support (BSP) files, it can be a bit tricky importing the correct libraries as you are accustomed to.  The easiest method is:

  1. Create a new program
  2. Select DISCO-F429ZI from the Platform list (make sure that you add the platform to your compiler beforehand)
  3. Select Basic example showing how to drive the LCD from the Template list.
  4. Type a name for the program and click OK.
  5. Import the GYRO_DISCO_F429ZI library into your program.

This will ensure that all the required libraries are automatically added to the program.


The following example programs will demonstrate the principles of using the GYRO_DISCO_F429ZI class library: