RoboJDETM v1.5

com.ridgesoft.io
Interface LED

All Known Implementing Classes:
BasicLED

public interface LED

Generic interface to control an LED.


Method Summary
 boolean isOn()
          Reads the state of the LED.
 void off()
          Turns the LED off.
 void on()
          Turns the LED on.
 void toggle()
          Toggles the state of the LED.
 

Method Detail

isOn

public boolean isOn()
Reads the state of the LED.

Returns:
true if the LED is on, false if it is off

off

public void off()
Turns the LED off.


on

public void on()
Turns the LED on.


toggle

public void toggle()
Toggles the state of the LED.


RoboJDETM v1.5

Copyright (c) 2003-2006 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com