i am a processing/arduino newb and trying to establish communication between arduino, processing and vvvv.
that's my status quo:
1. i already have my maxbotix range sensor running on my
ARDUINO and receiving beautiful distance measurements
2. i got this
oscP5 library working in
PROCESSING and sending data over OSC to my
vvvv patch (and receiving them well)
3. now i try to receive data in
PROCESSING from my
ARDUINO using the "simpleread" example to get the serial data and its throwing out the following error:
WARNING: RXTX Version mismatch
Jar version = RXTX-2.2pre1
native lib Version = RXTX-2.2pre2
gnu.io.PortInUseException: Unknown Application
at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:467)
at processing.serial.Serial.<init>(Unknown Source)
at processing.serial.Serial.<init>(Unknown Source)
at SimpleRead.setup(SimpleRead.java:44)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Exception in thread "Animation Thread" java.lang.RuntimeException: Error inside Serial.<init>()
at processing.serial.Serial.errorMessage(Unknown Source)
at processing.serial.Serial.<init>(Unknown Source)
at processing.serial.Serial.<init>(Unknown Source)
at SimpleRead.setup(SimpleRead.java:44)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Q1: Now question number 1: what is wrong out there, is this error caused by the 2 different lib versions and how can i fix this version mismatch if so
Q2: Do u have another idea or know a better way to get the data from my arduino to vvvv. AND YES i know firmata and got it up running on my board and vvvv as well and be able to do simple actions like switching LED's on and off BUT i dont know how to read the pulse data from that maxbotix sensor straight to vvvv. thats the reason why i make this "indirection" over processing.
I would be happy about any hints. Thanks in advance.
> Win 7 Pro 64 > Processing 1.5 > Arduino 0022 with Diecimila 168 > vvvv 45 beta 25.1