CuVoodoo STM32F1 firmware template
|
library to show BusVoodoo mode information on SSD1306 OLED display: name, activity, pinout (code) More...
Go to the source code of this file.
Functions | |
void | busvoodoo_oled_setup (void) |
setup OLED display | |
void | busvoodoo_oled_clear (void) |
clear display buffer More... | |
void | busvoodoo_oled_text_left (char *text) |
draw mode text on top (yellow) left side in display buffer More... | |
void | busvoodoo_oled_text_right (char *text) |
draw mode text on top (yellow) right side in display buffer More... | |
void | busvoodoo_oled_text_pinout (const char *pins[10], bool io_connector) |
draw pin names on bottom (blue) part in display buffer More... | |
void | busvoodoo_oled_update (void) |
update OLED display RAM with current display buffer | |
Variables | |
static bool | busvoodoo_oled_present = false |
if the OLED display is present and setup | |
static uint8_t | busvoodoo_oled_display [128 *8] = {0} |
display pixel buffer | |
static const uint8_t | font_king8 [95][5] |
8x5 px monospace bitmap font (starting with space, first byte is glyph left column, MSb is glyph top pixel) | |
static const uint16_t | font_king10 [97][6] |
10x6 px monospace bitmap font (starting with space, first element is glyph left column, MSb is glyph top pixel) | |
static const uint16_t | font_king14 [95][9] |
14*9 px monospace bitmap font (starting with space, first element is glyph left column, MSb is glyph top pixel) | |
library to show BusVoodoo mode information on SSD1306 OLED display: name, activity, pinout (code)
Definition in file busvoodoo_oled.c.
void busvoodoo_oled_clear | ( | void | ) |
clear display buffer
Definition at line 348 of file busvoodoo_oled.c.
void busvoodoo_oled_text_left | ( | char * | text | ) |
draw mode text on top (yellow) left side in display buffer
[in] | text | text to display on top left side of screen |
Definition at line 356 of file busvoodoo_oled.c.
void busvoodoo_oled_text_pinout | ( | const char * | pins[10], |
bool | io_connector | ||
) |
draw pin names on bottom (blue) part in display buffer
[in] | pins | pin names |
[in] | io_connector | display I/O connector (true) or RS/CAN connector + top half of I/O connector (false) |
Definition at line 406 of file busvoodoo_oled.c.
void busvoodoo_oled_text_right | ( | char * | text | ) |
draw mode text on top (yellow) right side in display buffer
[in] | text | text to display on top right side of screen |
Definition at line 384 of file busvoodoo_oled.c.