|
at24cm0x 1.0
at24cm0x driver library
|
Command and options for controlling the entire display illumination. More...
Macros | |
| #define | SSD130X_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM 0x00 |
| #define | SSD130X_CMD_ENTIRE_DISPLAY_ON_IGNORE_RAM 0x01 |
| #define | SSD130X_CMD_ENTIRE_DISPLAY_ON (0xA4 | SSD130X_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM) |
Command and options for controlling the entire display illumination.
The macros control whether the SSD130X display outputs pixels based on the RAM content or turns all pixels fully on.
The macro SSD130X_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 (SSD130X_CMD_ENTIRE_DISPLAY_ON | SSD130X_CMD_ENTIRE_DISPLAY_ON_IGNORE_RAM) and to resume that data is red by ram send the command SSD130X_CMD_ENTIRE_DISPLAY_ON or for better readability(SSD130X_CMD_ENTIRE_DISPLAY_ON (0xA4 | SSD130X_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM).
| #define SSD130X_CMD_ENTIRE_DISPLAY_ON (0xA4 | SSD130X_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM) |
Command to resume normal display (show RAM content)
| #define SSD130X_CMD_ENTIRE_DISPLAY_ON_IGNORE_RAM 0x01 |
| #define SSD130X_CMD_ENTIRE_DISPLAY_ON_RESUME_RAM 0x00 |