View Single Post
  #4   Spotlight this post!  
Unread 13-03-2014, 13:00
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: Connect Arduino to cRIO

Quote:
Originally Posted by SteveGarward View Post
Use ground as well to give the sidecar/robot a common ground with the Arduino.

Also, in your Arduino code, you will need to set the clock speed for the I2C (Wire) library to the same as the cRIO/sidecar. Add the following line to your code, PRIOR to the wire.h include:
#define TWI_FREQ 38400L
Would you happen to know if I need those pullup resistors?