at24cm0x 1.0
at24cm0x driver library
Loading...
Searching...
No Matches
Contrast Control Command

Command and option for setting the SSD130X display contrast. More...

Macros

#define SSD130X_CMD_SET_CONTRAST   0x81
#define SSD130X_CMD_SET_CONTRAST_VALUE   0x7F

Detailed Description

Command and option for setting the SSD130X display contrast.

The macro SSD130X_CMD_SET_CONTRAST defines the command byte used to adjust the contrast level of the SSD130X display. The macro SSD130X_CMD_SET_CONTRAST_VALUE specifies the contrast intensity value, typically ranging from 0x00 (lowest) to 0xFF (highest).

Note
This setting controls the brightness and visibility of the displayed content.

Usage Example: To set the display contrast, send the command SSD130X_CMD_SET_CONTRAST followed by SSD130X_CMD_SET_CONTRAST_VALUE.

Macro Definition Documentation

◆ SSD130X_CMD_SET_CONTRAST

#define SSD130X_CMD_SET_CONTRAST   0x81

◆ SSD130X_CMD_SET_CONTRAST_VALUE

#define SSD130X_CMD_SET_CONTRAST_VALUE   0x7F

Contrast level value (default: 0x7F, mid-level contrast)