I'm running Processing 1.5.1 with Windows 7 64-bit.
I am getting a warning message:
Version mismatch
Jar version=RXTX-2.2pre1
Native lib version=RXTX-2.2pre2
I'm a new Arduino user, as well as new to Processing. I'm working on an example sketch named Graph, which uses both languages. The sketch involves loading and running a segment using Arduino as follows:
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println(analogRead(A0));
delay(10);
}
This segment is compiled and uploaded to an Arduino Uno. Next, a segment is written in Processing as follows:
This is then compiled and uploaded to the Arduino, which is already running the Arduino segment.
The problem is that this segment will not compile correctly. The error message I get is
"Error inside Serial.<init>()"
When the error appears, the line beginning
myPort=new Serial(this,.......
is highlighted.
Can someone offer suggestions on what I'm doing wrong?