de.wagner_ibw.examples
Class Iow24IoTest

java.lang.Object
  |
  +--de.wagner_ibw.examples.Iow24IoTest
All Implemented Interfaces:
IowPortChangeListener, java.lang.Runnable

public class Iow24IoTest
extends java.lang.Object
implements java.lang.Runnable, IowPortChangeListener

Simple IO test prog for IO Warrior 24. This prog flashes the LED and scans two keys connected on P0.1 and P0.2.

Author:
Thomas Wagner

Constructor Summary
Iow24IoTest()
          Constructor for stand-alone operation.
Iow24IoTest(IowFactory devs)
          Constructor for use as part of an application (independent thread).
 
Method Summary
static void main(java.lang.String[] args)
          Stand-alone start.
 void portChanged(IowPort port)
           
 void run()
          Thread start.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Iow24IoTest

public Iow24IoTest()
Constructor for stand-alone operation.


Iow24IoTest

public Iow24IoTest(IowFactory devs)
Constructor for use as part of an application (independent thread).

Parameters:
devs - The initialized Iow base class.
Method Detail

main

public static void main(java.lang.String[] args)
Stand-alone start.

Parameters:
args - Not used here.

run

public void run()
Thread start.

Specified by:
run in interface java.lang.Runnable

portChanged

public void portChanged(IowPort port)
Specified by:
portChanged in interface IowPortChangeListener