English
Language : 

YOD2B Datasheet, PDF (10/11 Pages) GREATECS – 96RGBx64 (0.95") OLED Switches Snap-In Type
OLED Push Switches
96RGBx64 (0.95”) OLED Switches Snap-In Type
COMMAND APPLICATION EXAMPLE
Command usage and explanation of an actual example
<Initialization>
OLED_VCC_CTL=0;
//Off power up Panel Vcc
OLED_RESET=0;
//Reset driver IC for 100ms
Delay_100ms (1);
OLED_RESET=1;
Set_Display_Off (0xAE);
Set_Re-map & Data Format (0xA0, 0x74);
Set_Display_Start Line (0xA1, 0x00);
Set_Display_Offset (0xA2, 0x00);
Set_Display_Mode (0xA4);
Set_MUX_Ratio (0xA8, 0x3F);
Set_Master_Configuration (0xAD, 0x8E);
Set_Power_Saving_Mode (0xB0, 0x0B);
Set_Reset (Phase 1) / Pre-charge (Phase 2) period (0xB1,0x31);
Set_Oscillator_Frequency / Clock Divider (0xB3,0xF0);
Set_Second Pre-charge Speed of Color A (0x8A, 0x64);
Set_ Second Pre-charge Speed of Color B (0x8B, 0x78);
Set_ Second Pre-charge Speed of Color C (0x8C, 0x64);
Set_Pre-charge Level (0xBB, 0x3A);
Set_VCOMH (0xBE, 0x3E);
Set_Master_Current (0x87, 0x06);
Set_Contrast for Color A (0x81, 0x91);
Set_Contrast for Color B (0x82, 0x50);
Set_Contrast for Color C (0x83, 0x7D);
Set_Display On (0xAF);
OLED_VCC=1;
//Power up Vcc
Delay_100ms(1);
//Dealy 100ms
Set_Display_On(0xAF);
// Display On (0x00/0x01)
YOD2B
If the noise is accidentally occurred at the displaying window during the operation,
please reset the display in order to recover the display function.
sales@greatecs.com
www.greatecs.com 10