com.scottpreston.javarobot.chapter4
Class Compass

java.lang.Object
  extended by com.scottpreston.javarobot.chapter4.Compass

public class Compass
extends java.lang.Object


Constructor Summary
Compass(JSerialPort sPort)
           
 
Method Summary
 int getHeading()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compass

public Compass(JSerialPort sPort)
        throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getHeading

public int getHeading()
               throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception