oled 1.0
OLED Graphics Control Library
|
Command and options for configuring the OLED display memory addressing mode. More...
Macros | |
#define | OLED_CMD_SET_MEMORY_ADDRESSING_MODE 0x20 |
#define | OLED_CMD_SET_MEMORY_ADDRESSING_MODE_HORIZONTAL 0x00 |
#define | OLED_CMD_SET_MEMORY_ADDRESSING_MODE_VERTICAL 0x01 |
#define | OLED_CMD_SET_MEMORY_ADDRESSING_MODE_PAGE 0x02 |
Command and options for configuring the OLED display memory addressing mode.
The OLED_CMD_SET_MEMORY_ADDRESSING_MODE macro defines the command byte used to set how the display RAM is accessed and updated. The addressing modes includes:
Usage Example: To set page addressing mode, send the command OLED_CMD_SET_MEMORY_ADDRESSING_MODE followed by OLED_CMD_SET_MEMORY_ADDRESSING_MODE_PAGE.
#define OLED_CMD_SET_MEMORY_ADDRESSING_MODE 0x20 |
#define OLED_CMD_SET_MEMORY_ADDRESSING_MODE_HORIZONTAL 0x00 |
Horizontal addressing mode
#define OLED_CMD_SET_MEMORY_ADDRESSING_MODE_PAGE 0x02 |
Page addressing mode
#define OLED_CMD_SET_MEMORY_ADDRESSING_MODE_VERTICAL 0x01 |
Vertical addressing mode