Package ilcd
Class Control
Public Method turnDisplayOnOff
static void turnDisplayOnOff(int mode)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter |
Range |
Description |
mode |
0 ... 2 |
display mode |
Turns the display on or off. The following modes can be set:
mode |
DISPLAY_OFF |
DISPLAY_ON_DELAYED |
DISPLAY_ON_IMMEDIATELY |
Note
- While the display is turned off, the iLCD still processes all commands that are sent. The results show on the screen as soon as it is turned on again.
- When using mode DISPLAY_ON_IMMEDIATELY, the display shows a blank screen for approximately 300ms. To avoid this white screen, set the backlight intensity to 0 (refer to Control.setBacklightIntensity(int)) before turning on the display or use mode DISPLAY_ON_DELAYED instead.
Control.turnDisplayOnOff(Control.DISPLAY_ON_DELAYED);
See also:
Copyright © demmel products gmbh. All rights reserved.