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

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

public interface ILCDModuleControl
extends IModuleControl, IModuleLEDController


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, setModuleProperty
 
Methods inherited from interface com.buglabs.module.IModuleLEDController
setLEDGreen, setLEDRed
 

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