|
Re: Arduino Input to Java Code
Sure, You can use the MXP serial port, onboard serial port, USB-Serial, I2C, SPI,
The list goes on. Since you said USB input, I'm assuming you mean usb-serial. We're having issues with the roborio code crashing when we do _anything_ with usbserial, but it should be relatively simple for you to try using the onboard RS232 port on arduino channel 0
Take a look at the SerialPort class in the wpilib
|