com.buglabs.module
Interface IModuleLEDController

All Known Subinterfaces:
IAudioModuleControl, IGPSModuleControl, IGSMModuleControl, ILCDModuleControl, IMDACCModuleControl
All Known Implementing Classes:
AudioModuleControl, BUGBeeLEDControl, CameraModuleControl, GPSModlet, GSMModlet, LCDModlet, MotionModlet, SensorModuleControl, VonHippelModuleControl

public interface IModuleLEDController

Implementors have two LEDs, one green, one red, that can be controlled.


Method Summary
 int setLEDGreen(boolean state)
           
 int setLEDRed(boolean state)
           
 

Method Detail

setLEDRed

int setLEDRed(boolean state)
              throws java.io.IOException
Parameters:
state - on = true, off = false;
Returns:
the return of the underlying ioctl.
Throws:
java.io.IOException

setLEDGreen

int setLEDGreen(boolean state)
                throws java.io.IOException
Throws:
java.io.IOException