Go Down

Topic: Serial communication with Java and Arduino Leonardo (Read 12494 times) previous topic - next topic

Mr_Earl

I see! I removed that line from my code as it's just needed for the Raspi.

The Java program stops trying to connect if it already found a port to connect to. Look for the
Code: [Select]
break; statement within the while loop.

I tried a few request-response cycles this weekend. Everything worked as expected. I'm so glad I switched to JSSC!

Go Up