serialPort
Class TurnTable
java.lang.Object
serialPort.TurnTable
public class TurnTable
- extends java.lang.Object
Copyright DocJava, inc. User: lyon
Date: May 7, 2005
Time: 6:47:35 AM
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TurnTable
public TurnTable()
openAndClosePort
public static void openAndClosePort(CommPortIdentifierInterface cpid)
throws PortInUseException
- Throws:
PortInUseException
testTurnTable
public static void testTurnTable()
throws PortInUseException,
java.io.IOException,
UnsupportedCommOperationException
- Throws:
PortInUseException
java.io.IOException
UnsupportedCommOperationException
processPort
public static void processPort(CommPortIdentifierInterface portIdInterface)
throws PortInUseException,
java.io.IOException,
UnsupportedCommOperationException
- Throws:
PortInUseException
java.io.IOException
UnsupportedCommOperationException
sendMagicNumber
public static void sendMagicNumber(java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
moveStepperMotor
public static void moveStepperMotor(java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
step
public static void step(java.io.OutputStream os,
int n)
throws java.io.IOException
- Throws:
java.io.IOException
openSerialPort
public static SerialPortInterface openSerialPort(CommPortIdentifierInterface portIdInterface)
throws PortInUseException
- Throws:
PortInUseException
setUpSerialPort
public static void setUpSerialPort(SerialPortInterface sp)
throws UnsupportedCommOperationException
- Throws:
UnsupportedCommOperationException
sleepSec
public static void sleepSec(int sec)