We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am writing a program on Processing V1.5.1, to receive serial data on Raspberrypi from windows machine. I am struggling in receiving serial data on executing program and got this message(below). I am not sure it is error or not, but I am not getting my desire result. I am using Tx and Rx (GPIO 14 and 15) for serial communication and when I check it on Minicom, it is working fine. Can you please guide me on how do I resolve this issue?
CODING
=====
import processing.serial.*;
Serial myPort;
String input;
void setup() {
myPort = new Serial(this, "/dev/ttyAMA0", 9600);
println(Serial.list());
myPort.bufferUntil('\n');
}
void serialEvent(Serial port) {
input = port.readString();
println (input);
}
ERROR ====
Stable Library
========
Native lib Version = RXTX-2.2pre2
Java lib Version = RXTX-2.1-7
WARNING: RXTX Version mismatch
Jar version = RXTX-2.1-7
native lib Version = RXTX-2.2pre2
Answers
A classical: https://www.google.fr/search?as_sitesearch=processing.org&as_q=RXTX+Version+mismatch