Atmel Software Framework

example_sysfont.c File Reference

Example application for GFX Monochrome System Font (sysfont)

Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.

#include <asf.h>

Functions

int main (void)
 Main entry of example application. More...
 

int main ( void  )

Main entry of example application.

Starts off by initializing the system clock before configuring the board and the monochrome graphical system.

After initialization the example will write the "Hello world!\\r\\nI'm board..." string to position 0, 0 on the display. Use the system font sysfont. Afterwards the system busy waits forever in a while true loop.

References board_init(), gfx_mono_draw_string(), gfx_mono_init, sysclk_init, and sysfont.