com.scottpreston.javarobot.chapter3
Class Ssc
java.lang.Object
   com.scottpreston.javarobot.chapter2.Controller
com.scottpreston.javarobot.chapter2.Controller
       com.scottpreston.javarobot.chapter3.Ssc
com.scottpreston.javarobot.chapter3.Ssc
- All Implemented Interfaces: 
- JController, SSCProtocol
- Direct Known Subclasses: 
- LM32, MiniSsc, MiniSscGM
- public abstract class Ssc 
- extends Controller- implements SSCProtocol
 
 
 
| Method Summary | 
|  int | getMaxPin()
 | 
|  void | move(int pin,
     int pos)
 | 
|  void | move(int pin1,
     int pos1,
     int pin2,
     int pos2)
 | 
|  void | setMaxPin(int maxPin)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Ssc
public Ssc(JSerialPort serialPort)
    throws java.lang.Exception
- Throws:
- java.lang.Exception
move
public void move(int pin,
                 int pos)
          throws java.lang.Exception
- 
- Specified by:
- movein interface- SSCProtocol
 
- 
- Parameters:
- pin- - connector on the MiniSSC 0-7
- pos- - byte from 0-255
- Throws:
- java.lang.Exception
 
move
public void move(int pin1,
                 int pos1,
                 int pin2,
                 int pos2)
          throws java.lang.Exception
- 
 
- 
- Throws:
- java.lang.Exception
 
getMaxPin
public int getMaxPin()
- 
 
- 
 
setMaxPin
public void setMaxPin(int maxPin)
- 
 
-