oled 1.0
OLED Graphics Control Library
|
Command and options for setting the OLED display mode (normal or inverse). More...
Macros | |
#define | OLED_CMD_SET_DISPLAY_MODE_NORMAL 0x00 |
#define | OLED_CMD_SET_DISPLAY_MODE_INVERSE 0x01 |
#define | OLED_CMD_SET_DISPLAY_MODE (0xA6 | OLED_CMD_SET_DISPLAY_MODE_NORMAL) |
Command and options for setting the OLED display mode (normal or inverse).
The macros control the display pixel rendering mode:
The macro OLED_CMD_SET_DISPLAY_MODE combines the base command with the normal mode option by default.
Usage Example: To set the display to normal mode, send the command OLED_CMD_SET_DISPLAY_MODE.
#define OLED_CMD_SET_DISPLAY_MODE (0xA6 | OLED_CMD_SET_DISPLAY_MODE_NORMAL) |
Command to set display mode (default: normal)
#define OLED_CMD_SET_DISPLAY_MODE_INVERSE 0x01 |
#define OLED_CMD_SET_DISPLAY_MODE_NORMAL 0x00 |