|
at24cm0x 1.0
at24cm0x driver library
|
Command and option for setting the SSD130X display contrast. More...
Macros | |
| #define | SSD130X_CMD_SET_CONTRAST 0x81 |
| #define | SSD130X_CMD_SET_CONTRAST_VALUE 0x7F |
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).
Usage Example: To set the display contrast, send the command SSD130X_CMD_SET_CONTRAST followed by SSD130X_CMD_SET_CONTRAST_VALUE.
| #define SSD130X_CMD_SET_CONTRAST 0x81 |
| #define SSD130X_CMD_SET_CONTRAST_VALUE 0x7F |
Contrast level value (default: 0x7F, mid-level contrast)