View Single Post
  #2   Spotlight this post!  
Unread 21-01-2015, 09:27
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
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);
Check out the rest of the Wire library documentation to set up handlers etc
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube