|
I2C read from Raspberry Pi to RoboRio
Hi fellow programmers,
We've decided to use a raspberry pi for some side processing on our robot this year. We've got all the code in python on the Raspberry Pi done now all we have to do is get it to the roboRIO somehow. We've been playing with the I2C bus port off of the roboRIO's mxp port and running i2cdetect on the Pi comes up with an address of 32 for the roboRIO. Awesome. That's the address we can send data to, from the Pi. Receiving the data on the end of the roboRIO is the difficult part. The I2C library for Java requires a device address in the parameters of the constructor. For the life of me, and my team, we can't find the address of raspberry pi's I2C port. Could someone help us out or devise a way to find the address?
-Cinnamon Toast
|