FAQ Database Discussion Community


My SerialPortEvent does not receive data using jSSC in a continous loop

java,serial-port,arduino,jssc
I have been trying to use serial communication with my Arduino Uno and have used the library jSSC-2.6.0. I am using a SeriaPortEvent listener to receive bytes from the Serial Port (Arduino) and store them in a linked list. public synchronized void serialEvent(SerialPortEvent serialPortEvent) { if (serialPortEvent.isRXCHAR()) { // if...