[Solved] Cannot read from /dev/ttyACM1 but Arduino IDE can transfer code to /dev/ttyACM1

edited March 2014 in Arduino

Hello. I use Ubuntu 12.04, with Processing 2.1 and Arduino 1.0 IDE on Arduino Uno R3. Till yesterday, Arduino IDE and the Processing2.0 communicated over /dev/ttyACM0 . That is, I could select /dev/ttyACM0 using
myPort = new Serial(this, Serial.list()[0], 115200);

Starting today, Arduino IDE connects to Uno via /dev/ttyACM1 instead of ACM0. However, Processing2.0 can't choose from the "println(Serial.list());" .. I tried the code this way too :

myPort = new Serial(this, "/dev/ttyACM1",115200);

But I only get port not found error (while Arduino IDE can communicate to that port. I closed Arduino IDE and tried only with processing2.0 running, it still didn't work) How do I get Processing to take in data sent from Arduino Uno from that port?

Also for the last 3 days (new to Arduino/Processing), I was able to read only at 115200 baud rate.

Thanks!

Answers

  • edited March 2014

    Update : The ACM0 started working automatically, I don't see what has happened! I will mark this thread solved.

Sign In or Register to comment.