" />

gb.display.setFont

DESCRIPTION


Change the font used in gb.display.print and gb.display.drawChar

The font can be either one of the default fonts or a custom font. The tools to create your own are on GitHub.

To be able to use one of the default fonts, don’t forget to add extern const byte font3x3[]; at the beginning of your sketch (see example below).

 

DEFAULT  FONTS:

SYNTAX


gb.display.setFont(font);

 

PARAMETERS


  • font: the font you want to use.

 

RETURNS


none

 

EXAMPLE


0