SSD1306 OLED display driver
1.5.0
This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display
|
#include "hal/io.h"
Go to the source code of this file.
Functions | |
void | ssd1331_setMode (uint8_t vertical) |
Sets GDRAM autoincrement mode. 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 | ( | uint8_t | vertical | ) |
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.
vertical | - 0 or 1 |
Definition at line 110 of file oled_ssd1331.c.