at24cm0x 1.0
at24cm0x driver library
Loading...
Searching...
No Matches
Display Start Line Command

Command and option for setting the vertical start line of the SSD130X display. More...

Macros

#define SSD130X_CMD_SET_DISPLAY_START_LINE_OFFSET   0x00
#define SSD130X_CMD_SET_DISPLAY_START_LINE   (0x40 | SSD130X_CMD_SET_DISPLAY_START_LINE_OFFSET)

Detailed Description

Command and option for setting the vertical start line of the SSD130X display.

The macro SSD130X_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 SSD130X_CMD_SET_DISPLAY_START_LINE combines the base command with the offset to set the vertical start line position for the display content.

Note
These macros allow adjustment of which scan line is mapped to the top of the SSD130X screen, useful for shifting or custom screen arrangements.

Usage Example: To set the display start line, send the command SSD130X_CMD_SET_DISPLAY_START_LINE.

Macro Definition Documentation

◆ SSD130X_CMD_SET_DISPLAY_START_LINE

#define SSD130X_CMD_SET_DISPLAY_START_LINE   (0x40 | SSD130X_CMD_SET_DISPLAY_START_LINE_OFFSET)

Command to set the vertical start line position

◆ SSD130X_CMD_SET_DISPLAY_START_LINE_OFFSET

#define SSD130X_CMD_SET_DISPLAY_START_LINE_OFFSET   0x00