gmj.pcb.fpga.test
Class BoardTest

java.lang.Object
  extended by gmj.pcb.fpga.test.BoardTest
All Implemented Interfaces:
Runnable

public class BoardTest
extends Object
implements Runnable


Field Summary
private  SerialConnection serialConnection
           
 
Constructor Summary
BoardTest()
           
 
Method Summary
 int getByte()
           
 void init()
           
static void main(String[] args)
           
 void run()
           
 void sendCommand(byte cmdNum, byte index, byte arg1, byte arg2)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialConnection

private SerialConnection serialConnection
Constructor Detail

BoardTest

public BoardTest()
Method Detail

init

public void init()
          throws SerialConnectionException
Throws:
SerialConnectionException

shutdown

public void shutdown()

sendCommand

public void sendCommand(byte cmdNum,
                        byte index,
                        byte arg1,
                        byte arg2)
                 throws IOException
Throws:
IOException

getByte

public int getByte()
            throws IOException
Throws:
IOException

main

public static void main(String[] args)

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2013. All Rights Reserved.