Example application for GFX Monochrome spinner widget.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
#include <stdio.h>
#include <conf_spinctrl.h>
#include <conf_sysfont.h>
Functions | |
int | main (void) |
Main entry of example application. More... | |
PROGMEM_DECLARE (char const, spinnertitle[]) | |
PROGMEM_DECLARE (char const, spinnertitle2[]) | |
PROGMEM_DECLARE (char const, spinnertitle3[]) | |
PROGMEM_DECLARE (char const, spinner_choice1[]) | |
PROGMEM_DECLARE (char const, spinner_choice2[]) | |
PROGMEM_DECLARE (char const, spinner_choice3[]) | |
PROGMEM_DECLARE (char const, spinner_choice4[]) | |
Variables | |
PROGMEM_STRING_T | spinner_choicestrings [] |
int main | ( | void | ) |
Main entry of example application.
Starts off by initializing the system clock before configuring the board and the monochrome graphical system.
References board_init(), gfx_mono_init, gfx_mono_spinctrl_init(), GFX_MONO_SPINCTRL_MAX_ELEMENTS_IN_SPINCOLLECTION, gfx_mono_spinctrl_spincollection_add_spinner(), gfx_mono_spinctrl_spincollection_init(), gfx_mono_spinctrl_spincollection_show(), spinner_choicestrings, SPINTYPE_INTEGER, SPINTYPE_STRING, and sysclk_init.
PROGMEM_DECLARE | ( | char | const, |
spinnertitle | [] | ||
) |
PROGMEM_DECLARE | ( | char | const, |
spinnertitle2 | [] | ||
) |
PROGMEM_DECLARE | ( | char | const, |
spinnertitle3 | [] | ||
) |
PROGMEM_DECLARE | ( | char | const, |
spinner_choice1 | [] | ||
) |
PROGMEM_DECLARE | ( | char | const, |
spinner_choice2 | [] | ||
) |
PROGMEM_DECLARE | ( | char | const, |
spinner_choice3 | [] | ||
) |
PROGMEM_DECLARE | ( | char | const, |
spinner_choice4 | [] | ||
) |
PROGMEM_STRING_T spinner_choicestrings[] |
Referenced by main().