serial
Class SerialProjector
java.lang.Object
|
+--serial.Serial
|
+--serial.SerialProjector
- All Implemented Interfaces:
- EventListener, javax.comm.SerialPortEventListener
- public class SerialProjector
- extends Serial
The SerialProjector class is designed to control the Projector control devices,
Fields inherited from class serial.Serial |
answerTimeout, cancelEcho, debug, device, listener, semaphore, serial, serial_in, serial_out, timeout_wait, waitingForResponse |
Method Summary |
void |
bogus()
Sends a bogus command |
void |
inputRGB1()
Sends a directly "ON" command to RGB1 |
void |
inputRGB2()
Sends a command to switch input to RGB2 |
void |
inputVideo()
Sends a command to switch input to video |
static void |
main(String[] args)
Used for standalone debugging and hardware tests. |
void |
turnOff()
Sends an "OFF" command |
void |
turnOn()
Sends an "ON" command |
Methods inherited from class serial.Serial |
addEventListener, close, getNewInstance, open, open, open, openNoParams, processSerialEvent, read, readBytes, readString, ready, send, send, sendSynch, sendSynch, sendSynch, sendSynch, serialEvent, setDebug, setFlowControlMode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerialProjector
public SerialProjector()
turnOff
public void turnOff()
throws IOException
- Sends an "OFF" command
turnOn
public void turnOn()
throws IOException
- Sends an "ON" command
inputVideo
public void inputVideo()
throws IOException
- Sends a command to switch input to video
inputRGB1
public void inputRGB1()
throws IOException
- Sends a directly "ON" command to RGB1
inputRGB2
public void inputRGB2()
throws IOException
- Sends a command to switch input to RGB2
bogus
public void bogus()
throws IOException
- Sends a bogus command
main
public static void main(String[] args)
- Used for standalone debugging and hardware tests.