oled 1.0
OLED Graphics Control Library
|
Command and options for configuring the OLED display clock timing and frequency. More...
Macros | |
#define | OLED_CMD_SET_DISPLAY_CLOCK 0xD5 |
#define | OLED_CMD_SET_DISPLAY_CLOCK_DIVIDE_RATIO 0x00 |
#define | OLED_CMD_SET_DISPLAY_CLOCK_FREQUENCY 0x80 |
Command and options for configuring the OLED display clock timing and frequency.
The OLED_CMD_SET_DISPLAY_CLOCK macro defines the command byte used to configure the display's internal clock.
Possible frequency settings:
Possible clock divide ratios:
Macros:
Usage Example: To set the display clock, send the command OLED_CMD_SET_DISPLAY_CLOCK followed by the desired divide ratio and frequency setting ()OLED_CMD_SET_DISPLAY_CLOCK_DIVIDE_RATIO | OLED_CMD_SET_DISPLAY_CLOCK_FREQUENCY).
#define OLED_CMD_SET_DISPLAY_CLOCK 0xD5 |
#define OLED_CMD_SET_DISPLAY_CLOCK_DIVIDE_RATIO 0x00 |
Clock divide ratio setting
#define OLED_CMD_SET_DISPLAY_CLOCK_FREQUENCY 0x80 |
Oscillator frequency setting