Package ilcd
Class Control

Public Method getBacklightMode

static int getBacklightMode()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Range Description
mode 0 ... 3 backlight mode

The method returns the current adjusted backlight mode.

mode
BACKLIGHT_OFF
BACKLIGHT_ON
BACKLIGHT_BLINK
BACKLIGHT_FADE_OUT

Example

Control.getBacklightMode() == Control.BACKLIGHT_ON

If this expression evaluates to true, the backlight is on and no other mode is set.

See also:

Control.setBacklightMode(int)
Control.setBacklightIntensity(int)