Im having problems with linking Processing and Arduino. When I run the sketch In processing it comes up with this error message >>
/dev/cu.Bluetooth-Incoming-Port /dev/cu.Bluetooth-Modem /dev/cu.usbmodem1411 /dev/tty.Bluetooth-Incoming-Port /dev/tty.Bluetooth-Modem /dev/tty.usbmodem1411
[0] "/dev/cu.Bluetooth-Incoming-Port"
[1] "/dev/cu.Bluetooth-Modem"
[2] "/dev/cu.usbmodem1411"
[3] "/dev/tty.Bluetooth-Incoming-Port"
[4] "/dev/tty.Bluetooth-Modem"
[5] "/dev/tty.usbmodem1411"
RuntimeException: Error opening serial port /dev/cu.Bluetooth-Modem: Port busy
RuntimeException: Error opening serial port /dev/cu.Bluetooth-Modem: Port busy
RuntimeException: Error opening serial port /dev/cu.Bluetooth-Modem: Port busy
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting.
This appears to be because Processing is trying to connect to the wrong serial port. How do I change the serial port to the usb input which Arduino is connected to?
Although even when I manually select port within the code to the correct port. It still tries to read the others and then fails. Do you know why this might be?
Yes. There is still something wrong with your code. If you don't want to post ALL of your code, please don't bother replying. And, please do NOT post any more snippets.