0

processing code error to work with arduino logic analyzer
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

processing code error to work with arduino logic analyzer

by josheeg on Sun Jan 25, 2009 11:19 am

processing code error to work with arduino logic analyzer

Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 0
at logicanalyzer.setup(logicanalyzer.java:30)
at processing.core.PApplet.handleDraw(PApplet.java:1383)
at processing.core.PApplet.run(PApplet.java:1311)
at java.lang.Thread.run(Thread.java:619)

http://www.uchobby.com/index.php/2008/0 ... -analyzer/
here is where I got the code...
josheeg
 
Posts: 213
Joined: Wed Jan 16, 2008 8:38 am

Re: processing code error to work with arduino logic analyzer

by adafruit on Sun Jan 25, 2009 10:45 pm

have you thought of maybe asking the person who wrote the code you cant get working

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: processing code error to work with arduino logic analyzer

by josheeg on Mon Jan 26, 2009 9:33 am

I got the code working that error was because my boarduino did not have the usb to rs232 converter cable plugged in. That made the array not have the com port it was looking for.
The logic analiser looks great!
I would almost sugjest this as a starter project after bliky.
You must login as root and use avrdude in ubuntu linux.
Unless you can get the tip mentioned in adafruits use it guide on their website to work.
I would sugjest disable or ground the pins not being used on port c of the logic analiser.
This could be a neat kit if the com port pins were labled on the output.
I have to trace the wires on my custom arduino board and find out what logic analiser trace is what pin of port C.
then since their is no heart beat pulse internaly it would be good to have a place to enter the time scale allong the bottom...
I should insert some pictures this would be a great kit I would definitly pay 40$ for something like this maby 60$ I am realy cheap im shure 80$ would still sell.
josheeg
 
Posts: 213
Joined: Wed Jan 16, 2008 8:38 am

Please be positive and constructive with your questions and comments.