code:
http://pastebin.com/9uq4S2dQ
Okay, so I'm trying to scan through all the possible addresses that the arduino could be from both Roborio (our code here) and Arduino (Arduino used I2C scanner code:
http://playground.arduino.cc/Main/I2cScanner)
We have verified the wiring of the arduino is correctly wired with A4 and A5 connected to the I2C and ground and power to the I2C port of roborio.
Both devices can't find each other.
Anyone have a solution to make both devices find each other?
(Strangely enough we can have Roborio send data to Arduino and Arduino read it but the Arduino can't successfully send data to the roborio with the Roborio giving a response like a System.out.println() in the DriverStation console)