oled 1.0
OLED Graphics Control Library
Loading...
Searching...
No Matches
Charge Pump Command

Command and options for configuring the OLED display's charge pump. More...

Macros

#define OLED_CMD_SET_CHARGE_PUMP   0x8D
#define OLED_CMD_SET_CHARGE_PUMP_EXTERNAL   0x10
#define OLED_CMD_SET_CHARGE_PUMP_INTERNAL   0x14

Detailed Description

Command and options for configuring the OLED display's charge pump.

The macro OLED_CMD_SET_CHARGE_PUMP defines the command byte used to set the charge pump configuration of the OLED display. The macros:

  • OLED_CMD_SET_CHARGE_PUMP_EXTERNAL enables the use of an external charge pump.
  • OLED_CMD_SET_CHARGE_PUMP_INTERNAL enables the use of the internal charge pump circuit.
Warning
These settings are critical for proper power management and operation of the OLED panel, depending on the system's hardware configuration.

Usage Example: To select a charge pump source, send the command OLED_CMD_SET_CHARGE_PUMP followed by either OLED_CMD_SET_CHARGE_PUMP_EXTERNAL or OLED_CMD_SET_CHARGE_PUMP_INTERNAL.

Macro Definition Documentation

◆ OLED_CMD_SET_CHARGE_PUMP

#define OLED_CMD_SET_CHARGE_PUMP   0x8D

◆ OLED_CMD_SET_CHARGE_PUMP_EXTERNAL

#define OLED_CMD_SET_CHARGE_PUMP_EXTERNAL   0x10

Option to use external charge pump

◆ OLED_CMD_SET_CHARGE_PUMP_INTERNAL

#define OLED_CMD_SET_CHARGE_PUMP_INTERNAL   0x14

Option to use internal charge pump