Hey I try to use processing together with my old lego mindstorm roboter.
I spend a lot of time to research how to combine them and finally found a code online which looked helpfull. But now i get this ERROR can somebody please help me to fix this problem:
jssc.SerialPortException: Port name - /dev/tty.NXT-DevB; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC.openPort(Unknown Source)
at pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC.(Unknown Source)
at pt.citar.diablu.processing.nxt.LegoNXT.(Unknown Source)
at sketch_200502a.setup(sketch_200502a.java:64)
at processing.core.PApplet.handleDraw(PApplet.java:2432)
Port name - /dev/tty.NXT-DevB; Method name - openPort(); Exception type - Port busy.
at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1547)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:313)
RuntimeException: jssc.SerialPortException: Port name - /dev/tty.NXT-DevB; Method name - openPort(); Exception type - Port busy.
RuntimeException: jssc.SerialPortException: Port name - /dev/tty.NXT-DevB; Method name - openPort(); Exception type - Port busy.
RuntimeException: jssc.SerialPortException: Port name - /dev/tty.NXT-DevB; Method name - openPort(); Exception type - Port busy.
RuntimeException: jssc.SerialPortException: Port name - /dev/tty.NXT-DevB; Method name - openPort(); Exception type - Port busy.