|
SSD1306Ascii
|
Display controller initialization commands. More...

Classes | |
| struct | DevType |
| Device initialization structure. More... | |
Macros | |
| #define | MEM_TYPE |
| #define | SH1106_PUMP_OFF 0X8A |
| #define | SH1106_PUMP_ON 0X8B |
| #define | SH1106_SET_PUMP_MODE 0XAD |
| #define | SH1106_SET_PUMP_VOLTAGE 0X30 |
| #define | SSD1306_CHARGEPUMP 0x8D |
| #define | SSD1306_COMSCANDEC 0xC8 |
| #define | SSD1306_COMSCANINC 0xC0 |
| #define | SSD1306_DEACTIVATE_SCROLL 0x2E |
| #define | SSD1306_DISPLAYALLON 0xA5 |
| #define | SSD1306_DISPLAYALLON_RESUME 0xA4 |
| #define | SSD1306_DISPLAYOFF 0xAE |
| #define | SSD1306_DISPLAYON 0xAF |
| #define | SSD1306_INVERTDISPLAY 0xA7 |
| #define | SSD1306_MEMORYMODE 0x20 |
| #define | SSD1306_NOP 0XE3 |
| #define | SSD1306_NORMALDISPLAY 0xA6 |
| #define | SSD1306_SEGREMAP 0xA0 |
| #define | SSD1306_SETCOMPINS 0xDA |
| #define | SSD1306_SETCONTRAST 0x81 |
| #define | SSD1306_SETDISPLAYCLOCKDIV 0xD5 |
| #define | SSD1306_SETDISPLAYOFFSET 0xD3 |
| #define | SSD1306_SETHIGHCOLUMN 0x10 |
| #define | SSD1306_SETLOWCOLUMN 0x00 |
| #define | SSD1306_SETMULTIPLEX 0xA8 |
| #define | SSD1306_SETPRECHARGE 0xD9 |
| #define | SSD1306_SETSTARTLINE 0x40 |
| #define | SSD1306_SETSTARTPAGE 0XB0 |
| #define | SSD1306_SETVCOMDETECT 0xDB |
Variables | |
| static const DevType MEM_TYPE | Adafruit128x32 |
| static const uint8_t MEM_TYPE | Adafruit128x32init [] |
| static const DevType MEM_TYPE | Adafruit128x64 |
| static const uint8_t MEM_TYPE | Adafruit128x64init [] |
| static const DevType MEM_TYPE | MicroOLED64x48 |
| static const uint8_t MEM_TYPE | MicroOLED64x48init [] |
| static const DevType MEM_TYPE | SH1106_128x64 |
| static const uint8_t MEM_TYPE | SH1106_128x64init [] |
| static const DevType MEM_TYPE | SSD1306_96x16 |
| static const uint8_t MEM_TYPE | SSD1306_96x16init [] |
Display controller initialization commands.
| #define MEM_TYPE |
Handle AVR flash addressing.
| #define SH1106_PUMP_OFF 0X8A |
Second byte charge pump off.
| #define SH1106_PUMP_ON 0X8B |
Second byte charge pump on.
| #define SH1106_SET_PUMP_MODE 0XAD |
First byte of set charge pump mode
| #define SH1106_SET_PUMP_VOLTAGE 0X30 |
Set Pump voltage value: (30H~33H) 6.4, 7.4, 8.0 (POR), 9.0.
| #define SSD1306_CHARGEPUMP 0x8D |
Enable or disable charge pump. Follow with 0X14 enable, 0X10 disable.
| #define SSD1306_COMSCANDEC 0xC8 |
Set COM output scan direction reversed.
| #define SSD1306_COMSCANINC 0xC0 |
Set COM output scan direction normal.
| #define SSD1306_DEACTIVATE_SCROLL 0x2E |
Deactivate scroll
| #define SSD1306_DISPLAYALLON 0xA5 |
Force display on regardless of GRAM content.
| #define SSD1306_DISPLAYALLON_RESUME 0xA4 |
Resume display from GRAM content.
| #define SSD1306_DISPLAYOFF 0xAE |
Set Display off.
| #define SSD1306_DISPLAYON 0xAF |
Set Display on.
| #define SSD1306_INVERTDISPLAY 0xA7 |
Set Inverse Display.
| #define SSD1306_MEMORYMODE 0x20 |
Set Memory Addressing Mode.
| #define SSD1306_NOP 0XE3 |
No Operation Command.
| #define SSD1306_NORMALDISPLAY 0xA6 |
Set Normal Display.
| #define SSD1306_SEGREMAP 0xA0 |
Set Segment Re-map between data column and the segment driver.
| #define SSD1306_SETCOMPINS 0xDA |
Sets COM signals pin configuration to match the OLED panel layout.
| #define SSD1306_SETCONTRAST 0x81 |
Set Display Contrast to one of 256 steps.
| #define SSD1306_SETDISPLAYCLOCKDIV 0xD5 |
Set Display Clock Divide Ratio/ Oscillator Frequency.
| #define SSD1306_SETDISPLAYOFFSET 0xD3 |
Set Display Offset.
| #define SSD1306_SETHIGHCOLUMN 0x10 |
Set Higher Column Start Address for Page Addressing Mode.
| #define SSD1306_SETLOWCOLUMN 0x00 |
Set Lower Column Start Address for Page Addressing Mode.
| #define SSD1306_SETMULTIPLEX 0xA8 |
Set Multiplex Ratio from 16 to 63.
| #define SSD1306_SETPRECHARGE 0xD9 |
Set Pre-charge Period
| #define SSD1306_SETSTARTLINE 0x40 |
Set display RAM display start line register from 0 - 63.
| #define SSD1306_SETSTARTPAGE 0XB0 |
Set GDDRAM Page Start Address.
| #define SSD1306_SETVCOMDETECT 0xDB |
This command adjusts the VCOMH regulator output.
|
static |
Initialization commands for a 128x32 SSD1306 oled display.
|
static |
Initialization commands for a 128x64 SSD1306 oled display.
|
static |
Initialization commands for a 64x48 Micro OLED display (by r7)
|
static |
Initialization commands for a 128x64 SH1106 oled display.
|
static |
Initialization commands for a 96x16 SSD1306 oled display.