cbox.hw
Class Relay

java.lang.Object
  extended by cbox.hw.Relay

public class Relay
extends Object


Constructor Summary
Relay()
           
 
Method Summary
static void setRelay(int relay, boolean value)
          Updates value of output port pin.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

Relay

public Relay()
Method Detail

setRelay

public static void setRelay(int relay,
                            boolean value)
Updates value of output port pin.

Parameters:
relay - - relay number (0-3)
value - - relay value (true, false)