s3games.robot

## Class RobotSerialPort

- java.lang.Object
- - s3games.robot.RobotSerialPort

-     public class RobotSerialPort
      extends java.lang.Object

  RobotSerialPort class is responsible for communicating with the SSC-32 robot controller over the serial line. It utilizes the RXTX library

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RobotSerialPort(java.lang.String portName)` construct a robot serial port object with the specified port name

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` close the communication link with the SSC-32 controller
    `void` | `open()` open the communication link with the SSC-32 controller

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RobotSerialPort

          public RobotSerialPort(java.lang.String portName)

      construct a robot serial port object with the specified port name

  - ### Method Detail

    - #### open

          public void open()
                    throws java.lang.Exception

      open the communication link with the SSC-32 controller
      Throws:
        `java.lang.Exception`

    - #### close

          public void close()

      close the communication link with the SSC-32 controller