Hi all, I was just looking through the Wire class for Arduino, and I was wondering what the address for the RIODuino was, or at least some way to find it. I looked all through REV Robotics’ documentation for the RIODuino, but they did not seem to make any references to the I2C address.
You’re trying to use it as a slave?
If so, you get to chose the address. In your setup() function you should declare this like so.
Wire.begin(I2C_ADDR);
Check out the rest of the Wire library documentation to set up handlers etc
Thanks, I COMPLETELY missed that second constructor. This is what happens when I go researching things late at night.