oled 1.0
OLED Graphics Control Library
|
Command and options for setting the OLED display multiplex ratio. More...
Macros | |
#define | OLED_CMD_SET_MULTIPLEX_RATIO 0xA8 |
#define | OLED_CMD_SET_MULTIPLEX_RATIO_16_MUX 0x1F |
#define | OLED_CMD_SET_MULTIPLEX_RATIO_32_MUX 0x2F |
#define | OLED_CMD_SET_MULTIPLEX_RATIO_64_MUX 0x3F |
Command and options for setting the OLED display multiplex ratio.
The OLED_CMD_SET_MULTIPLEX_RATIO macro defines the command byte used to configure the multiplex ratio of the OLED display. The macros:
Usage Example: To set the multiplex ratio, send the command OLED_CMD_SET_MULTIPLEX_RATIO followed by one of the multiplex ratio macros corresponding to the desired configuration.
#define OLED_CMD_SET_MULTIPLEX_RATIO 0xA8 |
#define OLED_CMD_SET_MULTIPLEX_RATIO_16_MUX 0x1F |
Multiplex ratio for 16 COM lines
#define OLED_CMD_SET_MULTIPLEX_RATIO_32_MUX 0x2F |
Multiplex ratio for 32 COM lines
#define OLED_CMD_SET_MULTIPLEX_RATIO_64_MUX 0x3F |
Multiplex ratio for 64 COM lines