oled 1.0
OLED Graphics Control Library
Loading...
Searching...
No Matches
Segment Remap Command

Command and options for configuring segment remapping of the OLED display. More...

Macros

#define OLED_CMD_SET_SEGMENT_REMAP_STANDARD   0x00
#define OLED_CMD_SET_SEGMENT_REMAP_REVERSED   0x01
#define OLED_CMD_SET_SEGMENT_REMAP   (0xA0 | OLED_CMD_SET_SEGMENT_REMAP_REVERSED)

Detailed Description

Command and options for configuring segment remapping of the OLED display.

The macros within this group define options for controlling the mapping of the segment drivers to the display columns.

  • OLED_CMD_SET_SEGMENT_REMAP_STANDARD sets the default (standard) column mapping.
  • OLED_CMD_SET_SEGMENT_REMAP_REVERSED reverses the column mapping for horizontal mirroring of the display.
Note
The macro OLED_CMD_SET_SEGMENT_REMAP combines the base command with the selected remap option. These settings allow flexible screen layouts, such as mirrored output.

Usage Example: To reverse the display segment mapping, send the command OLED_CMD_SET_SEGMENT_REMAP.

Macro Definition Documentation

◆ OLED_CMD_SET_SEGMENT_REMAP

#define OLED_CMD_SET_SEGMENT_REMAP   (0xA0 | OLED_CMD_SET_SEGMENT_REMAP_REVERSED)

Command to set segment remap mode (here set to reversed layout)

◆ OLED_CMD_SET_SEGMENT_REMAP_REVERSED

#define OLED_CMD_SET_SEGMENT_REMAP_REVERSED   0x01

◆ OLED_CMD_SET_SEGMENT_REMAP_STANDARD

#define OLED_CMD_SET_SEGMENT_REMAP_STANDARD   0x00