|
Re: Connect Arduino to cRIO
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
__________________
FRC Team 111 - WildStang (Mentor, Drive Coach)
FTC Team 7458 - Full Force! (Mentor, Coach)
FRC Team 3132 - Australia's FIRST FRC Team! (Holy crazy first year, Batman!)
|