-4

How do I talk to an Arduino using Java?

I need it for my CNC project. It seems this chunk of code works, but I don't know how to use it. See Stack Overflow question Control an Arduino with Java.

2
  • What is your problem? Commented Feb 26, 2013 at 16:40
  • 1
    I like your question. It helped me Commented Jul 17, 2013 at 22:03

1 Answer 1

1

Take a look at page Arduino and Java. It talks about Java/Arduino serial communication.

However, to control an Arduino with Java, you have to program it to accept commands and send commands to it with Java. You can't directly control it with Java, because Arduino uses Processing, that is a C-like language.

Sign up to request clarification or add additional context in comments.

3 Comments

Why people don't like this question?
From the Stack Overflow FAQs: Questions that are not a good fit for this site may be voted closed by experienced community members. Closed questions cannot be answered, but are eligible for improvement (and eventual re-opening) through editing, voting, and commenting. See How to Ask for guidance on editing your question to improve it. You should read them before posting :)
I didn't downvote the question, but I think the reason it's getting downvoted is that you've already got a link to an answer, and yet you're asking the same question. It's almost as redundant-looking as posting a question that asks how to post a question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.