SSD1306 OLED display driver  1.8.2
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
Classes | Macros | Functions
ssd1306_generic.h File Reference
#include "nano_gfx_types.h"

Go to the source code of this file.

Classes

struct  SAppMenu
 

Macros

#define SSD1306_MORE_CHARS_REQUIRED   0xffff
 

Functions

void ssd1306_setPos (uint8_t x, uint8_t y)
 
void ssd1306_setCursor (lcdint_t x, lcdint_t y)
 Sets cursor position for text mode print functions. More...
 
void ssd1306_setFixedFont (const uint8_t *progmemFont)
 
void ssd1306_setFreeFont (const uint8_t *progmemFont)
 
void ssd1306_setSecondaryFont (const uint8_t *progmemUnicode)
 
void ssd1306_setFont6x8 (const uint8_t *progmemFont) __attribute__((deprecated))
 
void ssd1306_getCharBitmap (uint16_t ch, SCharInfo *info)
 returns char data for currently set (active) font. More...
 
void ssd1306_enableUtf8Mode (void)
 
void ssd1306_enableAsciiMode (void)
 
lcduint_t ssd1306_getTextSize (const char *text, lcduint_t *height)
 
void ssd1306_createMenu (SAppMenu *menu, const char **items, uint8_t count)
 
void ssd1306_showMenu (SAppMenu *menu)
 
void ssd1306_showMenu8 (SAppMenu *menu)
 
void ssd1306_showMenu16 (SAppMenu *menu)
 
void ssd1306_updateMenu (SAppMenu *menu)
 
void ssd1306_updateMenu8 (SAppMenu *menu)
 
void ssd1306_updateMenu16 (SAppMenu *menu)
 
uint8_t ssd1306_menuSelection (SAppMenu *menu)
 
void ssd1306_menuDown (SAppMenu *menu)
 
void ssd1306_menuUp (SAppMenu *menu)
 
void ssd1306_drawProgressBar (int8_t progress)
 
void ssd1306_drawProgressBar8 (int8_t progress)
 

Detailed Description

SSD1306 generic API functions

Definition in file ssd1306_generic.h.

Macro Definition Documentation

◆ SSD1306_MORE_CHARS_REQUIRED

#define SSD1306_MORE_CHARS_REQUIRED   0xffff

Flag means that more chars are required to decode utf-8

Definition at line 43 of file ssd1306_generic.h.