oled 1.0
OLED Graphics Control Library
|
Command and options for controlling the entire display illumination. More...
Macros | |
#define | OLED_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM 0x00 |
#define | OLED_CMD_ENTIRE_DISPLAY_ON_IGNORE_RAM 0x01 |
#define | OLED_CMD_ENTIRE_DISPLAY_ON (0xA4 | OLED_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM) |
Command and options for controlling the entire display illumination.
The macros control whether the OLED display outputs pixels based on the RAM content or turns all pixels fully on.
The macro OLED_CMD_ENTIRE_DISPLAY_ON combines the base command with the option to resume normal RAM-based display.
Usage Example: To turn the whole display on, send the command (OLED_CMD_ENTIRE_DISPLAY_ON | OLED_CMD_ENTIRE_DISPLAY_ON_IGNORE_RAM) and to resume that data is red by ram send the command OLED_CMD_ENTIRE_DISPLAY_ON or for better readability(OLED_CMD_ENTIRE_DISPLAY_ON (0xA4 | OLED_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM).
#define OLED_CMD_ENTIRE_DISPLAY_ON (0xA4 | OLED_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM) |
Command to resume normal display (show RAM content)
#define OLED_CMD_ENTIRE_DISPLAY_ON_IGNORE_RAM 0x01 |
#define OLED_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM 0x00 |