SSD1306 OLED display driver
1.6.99
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
|
Go to the source code of this file.
Functions | |
void | ssd1331_setMode (lcd_mode_t mode) |
Sets GDRAM autoincrement mode. More... | |
void | ssd1331_setRotation (uint8_t rotation) |
Sets screen orientation (rotation) More... | |
void | ssd1331_96x64_init (void) |
Inits 96x64 RGB OLED display (based on SSD1331 controller). More... | |
void | ssd1331_96x64_spi_init (int8_t rstPin, int8_t cesPin, int8_t dcPin) |
Inits 96x64 RGB OLED display over spi (based on SSD1331 controller). More... | |
support for RGB OLED 96x64 display
Definition in file oled_ssd1331.h.
void ssd1331_setMode | ( | lcd_mode_t | mode | ) |
Sets GDRAM autoincrement mode.
Sets GDRAM autoincrement mode. By default, to make ssd1306_xxx functions compatible with RGB oled display, RGB oled is initialized in vertical auto-increment mode. But for pure rbg oled operations horizontal auto-increment mode is more suitable. So, if you're going to use NanoCanvas8 functions, please call ssd1331_setMode(0) prior to using pure RGB methods.
mode | 0 or 1 |
Definition at line 126 of file oled_ssd1331.c.
void ssd1331_setRotation | ( | uint8_t | rotation | ) |
Sets screen orientation (rotation)
Sets screen orientation (rotation): 0 - normal, 1 - 90 CW, 2 - 180 CW, 3 - 270 CW
rotation | - screen rotation 0 - normal, 1 - 90 CW, 2 - 180 CW, 3 - 270 CW |
Definition at line 144 of file oled_ssd1331.c.