I am trying to connect Arduino using java program and it gives out error when sending data from the pc to arduino from a serial-connection and the program crashes And these are my initialization methods and send methods for serial Initialization of Serial Connection Sending data via Serial Connection Serial c…
Tag: rxtx
CommPortIdentifier.getPortIdentifiers with zero ports on Linux
i am trying to connect serial port on ubuntu. However, It doesn’t work for me. I succesfully run the same project on Windows just with different drivers. The problem is that I can’t load any ports while I am using this: CommPortIdentifier.getPortIdentifiers(); // i am using rxtx 2.1.7 It always re…