Thread
:
RIODuino I2C Address
View Single Post
#
2
21-01-2015, 09:27
timytamy
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
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
timytamy
View Public Profile
Visit timytamy's homepage!
Find all posts by timytamy
Find CD-Media Photos by timytamy
Find CD-Media Papers by timytamy