User Manual
uint8_t getTotalFonts(void); --- Return the total number of fonts loaded into
the MicroOLED's flash memory.
uint8_t getFontType(void); --- Returns the font type number of the current
font (Font types shown below).
uint8_t setFontType(uint8_t type); --- Sets the font type (Font types shown
below).
Font
Type
Maximum
Columns
Maximum
Rows Description
0 10 6 Smallest, 5x7-pixel characters.
1 6 3 Medium, 8x16-pixel characters.
2 5 3 7-segment display style characters,
10x16-pixels each.
3 5 1 Large, 12x48 (the entire screen height)
characters.
uint8_t getFontStartChar(void); --- Returns the starting ASCII character of
the current font.
uint8_t getFontTotalChar(void); --- Return the total characters of the current
font.
Rotation and Scrolling
The following functions will scroll the screen in the various specified directions of each
function. Start and Stop indicate the range of rows/columns that will be scrolling.
void scrollRight(uint8_t start, uint8_t stop); --- Scrolls right
void scrollLeft(uint8_t start, uint8_t stop);
void scrollVertRight(uint8_t start, uint8_t stop);
void scrollVertLeft(uint8_t start, uint8_t stop);
void scrollStop(void); The following two functions are pretty self explanatory,
they will flip the graphics if flip is true.
void flipVertical(boolean flip);
void flipHorizontal(boolean flip);
Examples
Example: Feature Demo
This first example demonstrates many of the available features of the screen through
several applications. Keep in mind when looking at this example that drawing anything
8/17