|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Arduino Input to Java Code
Is there any way to read Arduino usb input through Java code and passing it to the RoboRIO with the 2016 software?
|
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
Re: Arduino Input to Java Code
Thank you, I'll look into it.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|