View Single Post
  #3   Spotlight this post!  
Unread 01-10-2015, 03:39 PM
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: Need help with arduino to i2c on roborio!

I realize that this example is in LabVIEW but similar APIs should be available in Java. Hopefully this will give you a push in the right direction.

AndyMark released some example code that drives a touch-screen shield on the RIOduino (the REV Robotics Arduino-compatible MXP board). The screen code won't be of interest, but the last part of their example shows how they communicate between the roboRIO and the RIOduino through the I2C port.

Take a look at the example under the "Files & Documents" tab on the RIOduino with 2.8" Touchscreen (am-2999) bundle page.

Again, their example is in LabVIEW, but the same APIs should exist in Java.

Hope this helps!

-David
__________________
David Yanoshak
Co-founder REV Robotics | www.revrobotics.com
Reply With Quote