RoboJDETM v2.0

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

boolean isOn()
Reads the state of the LED.

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

off

void off()
Turns the LED off.


on

void on()
Turns the LED on.


toggle

void toggle()
Toggles the state of the LED.


RoboJDETM v2.0

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