English
Language : 

YOD1A Datasheet, PDF (11/12 Pages) GREATECS – 64x48 Monochrome (0.66") OLED Switches
OLED Push Switches
64x48 Monochrome (0.66”) OLED Switches
YOD1A
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, 0x00);
// Display Off (0x00/0x01)
Set_Display_Clock (0xD5, 0x80);
// Set Clock as 100 Frames/Sec
Set_Multiplex_Ratio(0xA8, 0x2F);
// 1/48 Duty (0x0F~0x3F)
Set_Display_Offset(0xD3, 0x00);
// Shift Mapping RAM Counter (0x00~0x3F)
Set_Start_Line(0x40,0x00);
// Set Mapping RAM Display Start Line 0x00~0x3F)
Set_Master_Config(0xAD, 0x8E);
// Disable Embedded DC/DC Converter
Set_Addressing_Mode(0x20, 0x02); // Set Page Addressing Mode
Set_Segment_Remap(0xA1,0x01);
// Set SEG/Column Mapping
Set_Common_Remap(0xC8);
// Set COM/Row Scan Direction
Set_Common_Config(0xDA, 0x12); // Set Alternative Configuration
Set_Contrast_Control(0x81, 0xCF); // Set SEG Output Current
Set_Precharge_Period(0xD9, 0xD2); // Set Pre-Charge as 13 Clocks & Discharge as 2 Cock
Set_VCOMH(0xDB, 0x34);
// Set VCOM Deselect Level
Set_Entire_Display(0xA4);
// Disable Entire Display On (0x00/0x01)
Set_Inverse_Display(0xA6);
// Disable Inverse Display On (0x00/0x01)
Fill_RAM(0x00);
// Clear Screen
OLED_VCC=1;
//Power up Vcc
Delay_100ms(1);
//Dealy 100ms
Set_Display_On(0xAF);
// Display On (0x00/0x01)
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 11