Need some expert Rainbowduino I2C advice!

I have started playing around with the rainbowduino, and I think I've hit a wall, in my lack of understanding about I2C communication.

My end goal is to be able to use the arduino to issue I2C commands to the rainbowduino so that it shows pretty lights the way I want.

Here's my progress so far:

  1. Using a UART adapter, I believe I have successfully uploaded the rainbowduino sketch "Rainbow_CMD_V2_0" to the rainbowduino hardware.

  2. Rainbowduino continues shows the "test pattern" (is this right?)

  3. Hooked up arduino to rainbowduino like this
    Arduino Analog 4 to Rainbowduino SDA
    Arduino analog 5 to Rainbowduino SCL
    Arduino 5V to Rainbowduino power header thing #1
    Arduino Gnd o Rainbowduino power header thing #2

I read some info about I2C communication and as far as I can gather, the two-wire Wire library (master_writer) is the best sketch to use as a starting point. So I loaded that onto the arduino, but the rainbowduino doesn't do anything except continue displaying the test pattern.

I guess I'm just very confused on what goes between the Wire.beginTransmission(4) and the Wire.endTransmission() commands, so that the rainbowduino knows what I'm trying to do?

I think I found the solution. There is a sample sketch provided by seeedstudio called "seeedmaster" - This is the sketch that you load on the arduino to get some of the sample code like ShowColor to work.

Maybe it was obvious to others but the documentation was a bit light on this side.

I'm looking forward to extending the Rainbowduino software and playing around with this thing.