Go to Post Its already begun folks...the Amanda you know is now one of us! mwahahahaha! - Andy Grady [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-16-2016, 08:49 PM
RamTech 59 RamTech 59 is offline
RamTech 59
FRC #0059 (RamTech 59)
Team Role: Coach
 
Join Date: Jan 2016
Rookie Year: 1997
Location: Miami, FL
Posts: 9
RamTech 59 is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 01-16-2016, 09:44 PM
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
  #3   Spotlight this post!  
Unread 01-17-2016, 04:08 PM
RamTech 59 RamTech 59 is offline
RamTech 59
FRC #0059 (RamTech 59)
Team Role: Coach
 
Join Date: Jan 2016
Rookie Year: 1997
Location: Miami, FL
Posts: 9
RamTech 59 is an unknown quantity at this point
Re: Arduino Input to Java Code

Thank you, I'll look into it.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:00 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi