oled 1.0
OLED Graphics Control Library
Loading...
Searching...
No Matches
Entire Display ON Command

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)

Detailed Description

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.

  • OLED_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM configures the display to show the actual RAM content (normal operation).
  • OLED_CMD_ENTIRE_DISPLAY_ON_IGNORE_RAM forces all pixels on regardless of RAM content (useful for testing or visual effects).

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).

Macro Definition Documentation

◆ OLED_CMD_ENTIRE_DISPLAY_ON

#define OLED_CMD_ENTIRE_DISPLAY_ON   (0xA4 | OLED_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM)

Command to resume normal display (show RAM content)

◆ OLED_CMD_ENTIRE_DISPLAY_ON_IGNORE_RAM

#define OLED_CMD_ENTIRE_DISPLAY_ON_IGNORE_RAM   0x01

◆ OLED_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM

#define OLED_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM   0x00