com.codemercs.test
Class IowBlink

java.lang.Object
  extended by com.codemercs.test.IowBlink

public class IowBlink
extends java.lang.Object

A simple demo for the IowKit-Library functions. After the application is started from the console it will list all IOWarriors. Then it will blink the Led's on the Starter-Kits. After that it will try to read 10 Reports from each device and print them to the console.


Field Summary
static long PID_IOW24
          Constant for the ProductId of an IOWarrior24
static long PID_IOW40
          Constant for the ProductId of an IOWarrior40
static long PID_IOW56
          Constant for the ProductId of an IOWarrior56
 
Constructor Summary
IowBlink()
          Opens the IowKit library
 
Method Summary
static void main(java.lang.String[] argv)
          Starts the demo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PID_IOW40

public static final long PID_IOW40
Constant for the ProductId of an IOWarrior40

See Also:
Constant Field Values

PID_IOW24

public static final long PID_IOW24
Constant for the ProductId of an IOWarrior24

See Also:
Constant Field Values

PID_IOW56

public static final long PID_IOW56
Constant for the ProductId of an IOWarrior56

See Also:
Constant Field Values
Constructor Detail

IowBlink

public IowBlink()
Opens the IowKit library

Method Detail

main

public static void main(java.lang.String[] argv)
Starts the demo. If the IowKit-library for the current plattform is not installed properly, the application will exit with an error message.