com.buglabs.bug.module.lcd.pub
Interface ILCDModuleControl

All Superinterfaces:
IModuleControl, IModuleLEDController
All Known Implementing Classes:
LCDModlet

public interface ILCDModuleControl
extends IModuleControl, IModuleLEDController

The interface that controls functions of the LCD module.


Field Summary
static int BACKLIGHT_HIGH
          LCD module backlight setting to HIGH
static int BACKLIGHT_LOW
          LCD module backlight setting to LOW
static int BACKLIGHT_MED
          LCD module backlight setting to MED
static int BACKLIGHT_OFF
          LCD module backlight setting to OFF
 
Method Summary
 int disable()
           
 int enable()
           
 int getStatus()
           
 int setBackLight(int val)
           
 int setBlackLight(int val)
          Deprecated. use setBackLight.
 
Methods inherited from interface com.buglabs.module.IModuleControl
getModuleName, getModuleProperties, getSlotId, resume, setModuleProperty, suspend
 
Methods inherited from interface com.buglabs.module.IModuleLEDController
setLEDGreen, setLEDRed
 

Field Detail

BACKLIGHT_OFF

static final int BACKLIGHT_OFF
LCD module backlight setting to OFF

See Also:
Constant Field Values

BACKLIGHT_LOW

static final int BACKLIGHT_LOW
LCD module backlight setting to LOW

See Also:
Constant Field Values

BACKLIGHT_MED

static final int BACKLIGHT_MED
LCD module backlight setting to MED

See Also:
Constant Field Values

BACKLIGHT_HIGH

static final int BACKLIGHT_HIGH
LCD module backlight setting to HIGH

See Also:
Constant Field Values
Method Detail

setBackLight

int setBackLight(int val)
                 throws java.io.IOException
Parameters:
val - Set's the intensity of the backlight 0-7.
Throws:
java.io.IOException

setBlackLight

int setBlackLight(int val)
                  throws java.io.IOException
Deprecated. use setBackLight.

Parameters:
val - Set's the intensity of the backlight 0-7.
Throws:
java.io.IOException

getStatus

int getStatus()
              throws java.io.IOException
Returns:
The stat of IOX. The 3 LSBs reprersent the state of the backlight.
Throws:
java.io.IOException

disable

int disable()
            throws java.io.IOException
Throws:
java.io.IOException

enable

int enable()
           throws java.io.IOException
Throws:
java.io.IOException