Microchip® Advanced Software Framework

GFX Mono Spinner Example

Introduction

This simple example shows how to set up a collection of spinners and display them on the screen.

Main files:

  • example_spinctrl.c : the example itself.
  • conf_ssd1306.h
  • conf_board.h
  • conf_clocks.h
  • conf_sysfont.h
  • conf_spinctrl.h

Device Info

All SAM devices can be used. This example has been tested with the following setup:

  • SAM D20 Xplained Pro
  • SAM D21 Xplained Pro
  • SAM R21 Xplained Pro
  • SAM L21 Xplained Pro
  • SAM L22 Xplained Pro
  • SAM R30 Xplained Pro

Description of the example application

This example application will initialize string spinner and two integer spinners, set up a spin collection with the spinners and display them on the screen.

Dependencies

Relevant module dependencies for this application are:

Compilation Info

This software was written for the GNU GCC and IAR. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.