Go Down

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

ofransen

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?

TIA!


madworm

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

http://arduino.cc/en/Tutorial/MasterReader

Code: [Select]
#include <Wire.h>
// ...
Wire.begin(0x16); // join the bus with address 0x16

Go Up