Go Down

Topic: I2C and the Colorduino (Read 2500 times) previous topic - next topic


Has anybody connected up several Colorduino's together using I2C?

I'm new to I2C so I'm not sure how you are supposed to give the address to the Colorduino boards. Would it be a constant in PROGMEM different for every Colorduino I use?


Owen F. Ransen


If you use the arduino ide + wire library, you make the boards slaves and associate an address as well.


Code: [Select]
#include <Wire.h>
// ...
Wire.begin(0x16); // join the bus with address 0x16
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131