Quote:
Originally Posted by ThomasClark
Another easy way would be to just use USB. Use the SerialPort class in your Java code to send data to the Arduino, and use Serial.read() on the Arduino to get the data. This has the advantage that it's really easy to test using the Serial Console in the Arduino IDE.
|
How might one go about implementing this? Would I just plug the arduino into the usb port, set my baud rate and my port (not sure which port), and then finally use the
Serial.read() command to receive what I had output over the arduino serial?