at24cm0x 1.0
at24cm0x driver library
Loading...
Searching...
No Matches
Display Offset Command

Command and option for configuring the display offset of the SSD130X. More...

Macros

#define SSD130X_CMD_SET_DISPLAY_OFFSET   0xD3
#define SSD130X_CMD_SET_DISPLAY_OFFSET_VALUE   0x00

Detailed Description

Command and option for configuring the display offset of the SSD130X.

The SSD130X_CMD_SET_DISPLAY_OFFSET macro defines the command byte used to set the display's vertical offset. The macro SSD130X_CMD_SET_DISPLAY_OFFSET_VALUE specifies the offset value to be used, typically zero for standard alignment.

Note
These macros allow adjustment of the display's vertical start line, which can be useful for scrolling or custom display layouts.

Usage Example: To set the display offset, send the command SSD130X_CMD_SET_DISPLAY_OFFSET followed by SSD130X_CMD_SET_DISPLAY_OFFSET_VALUE.

Macro Definition Documentation

◆ SSD130X_CMD_SET_DISPLAY_OFFSET

#define SSD130X_CMD_SET_DISPLAY_OFFSET   0xD3

◆ SSD130X_CMD_SET_DISPLAY_OFFSET_VALUE

#define SSD130X_CMD_SET_DISPLAY_OFFSET_VALUE   0x00

Display offset value (usually zero for normal operation)