oledswitch 2.0.0.0
Initialization Commands

Macros

#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_A_1   0x81
 
#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_A_2   0x19
 
#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_B_1   0x82
 
#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_B_2   0x14
 
#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_C_1   0x83
 
#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_C_2   0x24
 
#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_A_1   0x81
 
#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_A_2   0x15
 
#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_B_1   0x82
 
#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_B_2   0x1A
 
#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_C_1   0x83
 
#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_C_2   0x17
 
#define OLEDSWITCH_MASTER_CURRENT_CONTROL_1   0x87
 
#define OLEDSWITCH_MASTER_CURRENT_CONTROL_2   0x0F
 
#define OLEDSWITCH_REMAP_AND_COLOR_DEPTH_SETTING_1   0xA0
 
#define OLEDSWITCH_REMAP_AND_COLOR_DEPTH_SETTING_2   0x70
 
#define OLEDSWITCH_SET_DISPLAY_START_LINE_1   0xA1
 
#define OLEDSWITCH_SET_DISPLAY_START_LINE_2   0x00
 
#define OLEDSWITCH_SET_DISPLAY_OFFSET_1   0xA2
 
#define OLEDSWITCH_SET_DISPLAY_OFFSET_2   0x10
 
#define OLEDSWITCH_NORMAL_DISPLAY   0xA4
 
#define OLEDSWITCH_MULTIPLEX_RATIO_1   0xA8
 
#define OLEDSWITCH_MULTIPLEX_RATIO_2   0x2F
 
#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_1   0xAB
 
#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_2   0x00
 
#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_3   0x12
 
#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_4   0x0C
 
#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_5   0x14
 
#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_6   0x12
 
#define OLEDSWITCH_MASTER_CONFIGURATION_1   0xAD
 
#define OLEDSWITCH_MASTER_CONFIGURATION_2   0x8E
 
#define OLEDSWITCH_POWER_SAVE_MODE_1   0xB0
 
#define OLEDSWITCH_POWER_SAVE_MODE_2   0x0B
 
#define OLEDSWITCH_PHASE_1_AND_2_PERIOD_ADJUSTMENT_1   0xB1
 
#define OLEDSWITCH_PHASE_1_AND_2_PERIOD_ADJUSTMENT_2   0x44
 
#define OLEDSWITCH_DISPLAY_CLOCK_DIVIDER_OSCILLATOR_FREQUENCY_1   0xB3
 
#define OLEDSWITCH_DISPLAY_CLOCK_DIVIDER_OSCILLATOR_FREQUENCY_2   0xA0
 
#define OLEDSWITCH_ENABLE_LINEAR_GRAY_SCALE   0xB9
 
#define OLEDSWITCH_PRE_CHARGE_LEVEL_1   0xBB
 
#define OLEDSWITCH_PRE_CHARGE_LEVEL_2   0x12
 
#define OLEDSWITCH_15_SET_VCOMH_1   0xBE
 
#define OLEDSWITCH_15_SET_VCOMH_2   0x28
 
#define OLEDSWITCH_30_SET_VCOMH_1   0xBE
 
#define OLEDSWITCH_30_SET_VCOMH_2   0x3E
 
#define OLEDSWITCH_DISPLAY_ON_IN_NORMAL_MODE   0xAF
 

Detailed Description

Macro Definition Documentation

◆ OLEDSWITCH_15_CONTRAST_FOR_COLOR_A_1

#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_A_1   0x81

◆ OLEDSWITCH_15_CONTRAST_FOR_COLOR_A_2

#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_A_2   0x19

◆ OLEDSWITCH_15_CONTRAST_FOR_COLOR_B_1

#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_B_1   0x82

◆ OLEDSWITCH_15_CONTRAST_FOR_COLOR_B_2

#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_B_2   0x14

◆ OLEDSWITCH_15_CONTRAST_FOR_COLOR_C_1

#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_C_1   0x83

◆ OLEDSWITCH_15_CONTRAST_FOR_COLOR_C_2

#define OLEDSWITCH_15_CONTRAST_FOR_COLOR_C_2   0x24

◆ OLEDSWITCH_15_SET_VCOMH_1

#define OLEDSWITCH_15_SET_VCOMH_1   0xBE

◆ OLEDSWITCH_15_SET_VCOMH_2

#define OLEDSWITCH_15_SET_VCOMH_2   0x28

◆ OLEDSWITCH_30_CONTRAST_FOR_COLOR_A_1

#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_A_1   0x81

◆ OLEDSWITCH_30_CONTRAST_FOR_COLOR_A_2

#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_A_2   0x15

◆ OLEDSWITCH_30_CONTRAST_FOR_COLOR_B_1

#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_B_1   0x82

◆ OLEDSWITCH_30_CONTRAST_FOR_COLOR_B_2

#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_B_2   0x1A

◆ OLEDSWITCH_30_CONTRAST_FOR_COLOR_C_1

#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_C_1   0x83

◆ OLEDSWITCH_30_CONTRAST_FOR_COLOR_C_2

#define OLEDSWITCH_30_CONTRAST_FOR_COLOR_C_2   0x17

◆ OLEDSWITCH_30_SET_VCOMH_1

#define OLEDSWITCH_30_SET_VCOMH_1   0xBE

◆ OLEDSWITCH_30_SET_VCOMH_2

#define OLEDSWITCH_30_SET_VCOMH_2   0x3E

◆ OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_1

#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_1   0xAB

◆ OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_2

#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_2   0x00

◆ OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_3

#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_3   0x12

◆ OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_4

#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_4   0x0C

◆ OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_5

#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_5   0x14

◆ OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_6

#define OLEDSWITCH_DIM_MODE_SETTING_FOR_COLOR_A_B_C_6   0x12

◆ OLEDSWITCH_DISPLAY_CLOCK_DIVIDER_OSCILLATOR_FREQUENCY_1

#define OLEDSWITCH_DISPLAY_CLOCK_DIVIDER_OSCILLATOR_FREQUENCY_1   0xB3

◆ OLEDSWITCH_DISPLAY_CLOCK_DIVIDER_OSCILLATOR_FREQUENCY_2

#define OLEDSWITCH_DISPLAY_CLOCK_DIVIDER_OSCILLATOR_FREQUENCY_2   0xA0

◆ OLEDSWITCH_DISPLAY_ON_IN_NORMAL_MODE

#define OLEDSWITCH_DISPLAY_ON_IN_NORMAL_MODE   0xAF

◆ OLEDSWITCH_ENABLE_LINEAR_GRAY_SCALE

#define OLEDSWITCH_ENABLE_LINEAR_GRAY_SCALE   0xB9

◆ OLEDSWITCH_MASTER_CONFIGURATION_1

#define OLEDSWITCH_MASTER_CONFIGURATION_1   0xAD

◆ OLEDSWITCH_MASTER_CONFIGURATION_2

#define OLEDSWITCH_MASTER_CONFIGURATION_2   0x8E

◆ OLEDSWITCH_MASTER_CURRENT_CONTROL_1

#define OLEDSWITCH_MASTER_CURRENT_CONTROL_1   0x87

◆ OLEDSWITCH_MASTER_CURRENT_CONTROL_2

#define OLEDSWITCH_MASTER_CURRENT_CONTROL_2   0x0F

◆ OLEDSWITCH_MULTIPLEX_RATIO_1

#define OLEDSWITCH_MULTIPLEX_RATIO_1   0xA8

◆ OLEDSWITCH_MULTIPLEX_RATIO_2

#define OLEDSWITCH_MULTIPLEX_RATIO_2   0x2F

◆ OLEDSWITCH_NORMAL_DISPLAY

#define OLEDSWITCH_NORMAL_DISPLAY   0xA4

◆ OLEDSWITCH_PHASE_1_AND_2_PERIOD_ADJUSTMENT_1

#define OLEDSWITCH_PHASE_1_AND_2_PERIOD_ADJUSTMENT_1   0xB1

◆ OLEDSWITCH_PHASE_1_AND_2_PERIOD_ADJUSTMENT_2

#define OLEDSWITCH_PHASE_1_AND_2_PERIOD_ADJUSTMENT_2   0x44

◆ OLEDSWITCH_POWER_SAVE_MODE_1

#define OLEDSWITCH_POWER_SAVE_MODE_1   0xB0

◆ OLEDSWITCH_POWER_SAVE_MODE_2

#define OLEDSWITCH_POWER_SAVE_MODE_2   0x0B

◆ OLEDSWITCH_PRE_CHARGE_LEVEL_1

#define OLEDSWITCH_PRE_CHARGE_LEVEL_1   0xBB

◆ OLEDSWITCH_PRE_CHARGE_LEVEL_2

#define OLEDSWITCH_PRE_CHARGE_LEVEL_2   0x12

◆ OLEDSWITCH_REMAP_AND_COLOR_DEPTH_SETTING_1

#define OLEDSWITCH_REMAP_AND_COLOR_DEPTH_SETTING_1   0xA0

◆ OLEDSWITCH_REMAP_AND_COLOR_DEPTH_SETTING_2

#define OLEDSWITCH_REMAP_AND_COLOR_DEPTH_SETTING_2   0x70

◆ OLEDSWITCH_SET_DISPLAY_OFFSET_1

#define OLEDSWITCH_SET_DISPLAY_OFFSET_1   0xA2

◆ OLEDSWITCH_SET_DISPLAY_OFFSET_2

#define OLEDSWITCH_SET_DISPLAY_OFFSET_2   0x10

◆ OLEDSWITCH_SET_DISPLAY_START_LINE_1

#define OLEDSWITCH_SET_DISPLAY_START_LINE_1   0xA1

◆ OLEDSWITCH_SET_DISPLAY_START_LINE_2

#define OLEDSWITCH_SET_DISPLAY_START_LINE_2   0x00