Есть режимы: Sleep Mode и Standby Mode (стр. 49 даташита).
В этих режимах будет отображаться информация, находящаяся на дисплее !? Или он погаснет ?
Как войти в эти режимы ?
- Sleep Mode
This stops all operations in the LCD display system, and as long as there are no access from the MPU, the
consumption current is reduced to a value near the static current. The internal modes during sleep mode are
as follows:
a. The oscillator circuit and the LCD power supply circuit are halted.
b. All liquid crystal drive circuits are halted, and the segment in common drive outputs output a VSS level.
- Standby Mode
The duty LCD display system operations are halted and only the static drive system for the indicator
continues to operate, providing the minimum required consumption current for the static drive.
The internal modes are in the following states during standby mode.
a. The LCD power supply circuits are halted. The oscillator circuit continues to operate.
b. The duty drive system liquid crystal drive circuits are halted and the segment and common driver outputs
a VSS level. The static drive system does not operate.
When a reset command is performed while in standby mode, the system enters sleep mode.
Код: Выделить всё
lcd_send2 (lcd_bit2 (1,0,1,0,1,1,1,0), 0); // display off
lcd_send2 (lcd_bit2 (0,1,0,0,0,0,0,0), 0); // Specify DDRAM line for COM0
lcd_send2 (lcd_bit2 (1,0,1,0,0,0,0,0), 0); // Select SEG output direction | normal direction | SEG 0 ... SEG 131
noop (1000);
lcd_send2 (lcd_bit2 (0,0,0,1,0,0,0,0), 0); // Set column address MSB | = 0
lcd_send2 (lcd_bit2 (0,0,0,0,0,0,0,0), 0); // Set column address LSB | = 0
lcd_send2 (lcd_bit2 (1,0,1,0,0,0,1,0), 0); // Reverse display OFF
lcd_send2 (lcd_bit2 (1,0,1,0,0,0,1,0), 0); // Select LCD bias | ???
lcd_send2 (lcd_bit2 (1,1,0,0,1,0,0,0), 0); // Select COM output direction | reverse direction | COM 63 ... COM 0
noop (1000);
lcd_send2 (lcd_bit2 (0,0,1,0,1,1,0,0), 0); // Control power circuit operation | ???
noop (1000);
lcd_send2 (lcd_bit2 (0,0,1,0,1,1,1,0), 0); // Control power circuit operation | ???
noop (1000);
lcd_send2 (lcd_bit2 (0,0,1,0,1,1,1,1), 0); // Control power circuit operation | ???
noop (1000);
lcd_send2 (lcd_bit2 (0,0,1,0,0,0,1,0), 0); // Select internal resistance ratio of the regulator resistor
lcd_send2 (lcd_bit2 (1,0,0,0,0,0,0,1), 0); // Set reference voltage mode
lcd_send2 (lcd_bit2 (0,0,1,0,1,0,0,0), 0); // Set reference voltage register
noop (1000);
lcd_send2 (lcd_bit2 (1,0,1,0,1,1,1,1), 0); // display on
А на русском можешь обьяснить ?Gudd-Head писал(а):Там же написано- Sleep Mode
This stops all operations in the LCD display system, and as long as there are no access from the MPU, the
consumption current is reduced to a value near the static current. The internal modes during sleep mode are
as follows:
a. The oscillator circuit and the LCD power supply circuit are halted.
b. All liquid crystal drive circuits are halted, and the segment in common drive outputs output a VSS level.
- Standby Mode
The duty LCD display system operations are halted and only the static drive system for the indicator
continues to operate, providing the minimum required consumption current for the static drive.
The internal modes are in the following states during standby mode.
a. The LCD power supply circuits are halted. The oscillator circuit continues to operate.
b. The duty drive system liquid crystal drive circuits are halted and the segment and common driver outputs
a VSS level. The static drive system does not operate.
When a reset command is performed while in standby mode, the system enters sleep mode.