2 Application

The source project can be downloaded from Atmel | START by browsing examples. Atmel START is an innovative online tool for intuitive, graphical configuration of embedded software projects. For more information, refer to the Getting Started guide.

This example will show four main parts of the GFX library:

  • System Font
  • Monochrome Graphic Library
  • Menu System
  • Spinner/Spin control widget

The example project will display welcome messages, draw graphics (rectangle, circle...), show menus, and display a spinner collection interacting with three buttons on the OLED Xplained Pro board as input, to show the usage of the above modules.

The GFX color (system font/grahpic) modules are not demonstrated in the example on the monochrome OLED of OLED1 Xplained Pro.

To use the GFX library, gfx_mono_init() should be called to initialize the GFX lib, as well as the display controller.