View Single Post
  #2   Spotlight this post!  
Unread 16-01-2016, 21:44
AndyB871 AndyB871 is offline
Registered User
FRC #0871
 
Join Date: Jan 2012
Location: East Islip
Posts: 37
AndyB871 has a spectacular aura aboutAndyB871 has a spectacular aura aboutAndyB871 has a spectacular aura about
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
Reply With Quote