Here are the codes from arduino and processing. Can help check ?
arduino code.txt (799 Bytes)
Processing code.txt (684 Bytes)
Here are the codes from arduino and processing. Can help check ?
arduino code.txt (799 Bytes)
Processing code.txt (684 Bytes)
Hi Leo,
Try using baud rate 115200 and com port 1 to 4. Open device manager, find Arduino port23 and change baud rate and port number. Do the same on Arduino. Hope it works, did for me!
String COM23 = Serial.list()[0];
println(COM23);
txtFile = createWriter("Raw_reading.txt");
myPort = new Serial(this, "COM23" ,9600);
Determine which port the Arduino is likely connected to. Then, open COM23 regardless of what the Arduino is connected to. Why?