com.buglabs.module
Interface IModuleLEDController
- All Known Subinterfaces:
- IGPSModuleControl
- All Known Implementing Classes:
- CameraModuleControl, GPSModlet, LCDModlet, VonHippelModuleControl
public interface IModuleLEDController
Implementors have two LEDs, one green, one red, that can be controlled.
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