SSD1306 OLED display driver  1.8.2
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
Enumerations
vga_commands.h File Reference

Go to the source code of this file.

Enumerations

enum  EVgaCommands { VGA_SET_BLOCK = 0x01, VGA_SET_MODE = 0x02, VGA_SET_RESOLUTION = 0x03, VGA_DISPLAY_ON = 0x04 }
 

Detailed Description

VGA library commands definitions

Definition in file vga_commands.h.

Enumeration Type Documentation

◆ EVgaCommands

VGA driver commands

Enumerator
VGA_SET_BLOCK 

VGA_SET_BLOCK command sets rectangle in VGA ram to send pixels to. The command needs 4 byte-arguments: left boundary in pixels, right boundary in pixels, top boundary in pixels, bottom boundary in pixels, (last arg in not implemented yet)

VGA_SET_MODE 

VGA_SET_MODE command sets memory addressing mode: there are 2 modes available: 0 - normal addressing mode, 1 - ssd1306 compatible mode. After sending each pixel in normal addressing mode, x position shifts right by 1 pixel until end of block is reached, then y position shifts down by 1 pixel, and x position move to the start of block. After sending each pixel in ssd1306 compatible mode, y position shifts down by 1 pixel until 8 vertical pixels are printed, then y position changes to top of block, and x position shifts right by 1 pixel.

Definition at line 37 of file vga_commands.h.