oled 1.0
OLED Graphics Control Library
|
Command and option for setting the vertical start line of the OLED display. More...
Macros | |
#define | OLED_CMD_SET_DISPLAY_START_LINE_OFFSET 0x00 |
#define | OLED_CMD_SET_DISPLAY_START_LINE (0x40 | OLED_CMD_SET_DISPLAY_START_LINE_OFFSET) |
Command and option for setting the vertical start line of the OLED display.
The macro OLED_CMD_SET_DISPLAY_START_LINE_OFFSET specifies the offset value for the display start line, with valid values in the range 0x00 to 0x3F. The macro OLED_CMD_SET_DISPLAY_START_LINE combines the base command with the offset to set the vertical start line position for the display content.
Usage Example: To set the display start line, send the command OLED_CMD_SET_DISPLAY_START_LINE.
#define OLED_CMD_SET_DISPLAY_START_LINE (0x40 | OLED_CMD_SET_DISPLAY_START_LINE_OFFSET) |
Command to set the vertical start line position
#define OLED_CMD_SET_DISPLAY_START_LINE_OFFSET 0x00 |