We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpElectronics,  Serial Library › SetArduinoClock gets Animation Thread Error
Page Index Toggle Pages: 1
SetArduinoClock gets Animation Thread Error (Read 883 times)
SetArduinoClock gets Animation Thread Error
Jan 21st, 2009, 4:49am
 
I just got set up to run Processing, so I probably did something wrong, but it is not obvious to me.
The SetArduinoClock is as presented in the examples.
The error I get is:

Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 3
at SetArduinoClock.setup(SetArduinoClock.java:47)
at processing.core.PApplet.handleDraw(PApplet.java:1383)
at processing.core.PApplet.run(PApplet.java:1311)
at java.lang.Thread.run(Unknown Source)
Page Index Toggle Pages: 1