How do I make communications go between Arduino Uno and a Java app?
I’ve found Arduino and Java, but that’s not clear to me.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ok, I’ll modify the same code to help you understand. (I’ll remove the listener and add a substitution, which is not good. You should use the listener)
Run this and load a code to Arduino which write to the serial. Then those values will be displayed by the program. (you may need to change the PORT accordingly)