I'm trying to get the PID library to work. I get the Arduino library working but I get the following Processing error:
Stable Library
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 1
at PID_FrontEnd_v03.setup(PID_FrontEnd_v03.java:116)
at processing.core.PApplet.handleDraw(PApplet.java:2103)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
I just downloaded all the latest files. I have Processing 2.0b5, the latest controlP5 library, Windows XP 32 bit.
I'm a dummy newbie so please keep any replies simple. Do I need to be connected to a running Arduino for it to work?