Epson Research and Development
Page 87
Vancouver Design Center
Programming Notes and Examples
S1D13503
Issue Date: 01/01/30
X18A-G-002-06
printf("Press any key to cancel power saving\n");
getch();
//
// The following are the steps to exit a power save mode.
//
//
// Step 1: Exit Power Save Mode
//
val = ReadRegister(3);
val &= 0x3f;
WriteRegister(3, val); // Cancel power saving mode 2
//
// Step 2: Enable LCDE (turn on LCD power supply).
// For the S5U13503B00C, set LCDE bit to 1.
//
val = ReadRegister(1);
val |= 0x10;
WriteRegister(1, val);
//
// Step 3: Turn on display.
//
val = ReadRegister(1);
val |= 0x80;
WriteRegister(1, val);
ShowMenu();
}
electronic components distributor