com.scottpreston.javarobot.chapter3
Class ServoPosition2

java.lang.Object
  extended by com.scottpreston.javarobot.chapter3.ServoPosition
      extended by com.scottpreston.javarobot.chapter3.ServoPosition2

public class ServoPosition2
extends ServoPosition


Field Summary
 int max
           
 int min
           
 int neutral
           
 
Fields inherited from class com.scottpreston.javarobot.chapter3.ServoPosition
pin, pos
 
Constructor Summary
ServoPosition2(int pin)
           
ServoPosition2(int pin, int pos, int min, int max)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

public int min

max

public int max

neutral

public int neutral
Constructor Detail

ServoPosition2

public ServoPosition2(int pin)
               throws java.lang.Exception
Throws:
java.lang.Exception

ServoPosition2

public ServoPosition2(int pin,
                      int pos,
                      int min,
                      int max)
               throws java.lang.Exception
Throws:
java.lang.Exception