|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
RIODuino I2C Address
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.
|
|
#2
|
||||
|
||||
|
Re: RIODuino 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. Code:
Wire.begin(I2C_ADDR); |
|
#3
|
||||
|
||||
|
Re: RIODuino I2C Address
Thanks, I COMPLETELY missed that second constructor. This is what happens when I go researching things late at night. :P
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|