public class CompassSerialReader extends Object implements Runnable
Constructor and Description |
---|
CompassSerialReader(String portName)
Constructor that takes the serial port name on which the compass is
putting its data.
|
Modifier and Type | Method and Description |
---|---|
CompassData |
getCompassData() |
static void |
main(String[] args) |
void |
run() |
public CompassSerialReader(String portName)
portName
- The port name.public void run()
run
in interface Runnable
Runnable.run()
public CompassData getCompassData()