|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILed
Represents a simple one-colour LED
Method Summary | |
---|---|
boolean |
isOn()
|
void |
setOff()
Turn the LED off |
void |
setOn()
Turn the LED on |
void |
setOn(boolean on)
Set the LED's state |
Method Detail |
---|
void setOn()
void setOff()
void setOn(boolean on)
on
- true to set the LED on, false to set it off.boolean isOn()
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |