Pages: [1]   Go Down
Author Topic: I2C and the Colorduino  (Read 1567 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
Karma: 0
Posts: 127
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

"The old Europe"
Offline Offline
Edison Member
Karma: 1
Posts: 2005
Bootloaders suck!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

#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!

Pages: [1]   Go Up
Jump to: