This is the quick start guide for the GFX Mono Font Library with step-by-step instructions on how to configure and use it for a specific use case.
Basic usage of the graphics service
This use case will demonstrate initializing the mono graphics service and then draw a "Hello world!" sting on the display.
Dependencies
In order to use this quick start, the following dependencies are needed:
Usage steps
Example code
Add to, e.g., the main function in the application C-file:
Workflow
- Initialize system:
- Initialize monochrome graphics service
- Note
- This will call the init function for the low level display controller driver and intialize the screen to a cleared background.
- Draw a string on the screen starting at pixel (0,0)
- Note
- This uses conf_sysfont.h where sysfont is defines to give the font to be used on the screen.