Icing
2
Hi michu,
rainbowduino_v1_0_5 has the serial interface for receiving and displaying a matrix color data.
First change to data mode, then send 64x3(rgb) bytes color data with 0xaa 0x55 as ending flag.
for example:
unsigned char red = 0x0f;
unsigned char green = 0x0f;
unsigned char blue = 0x0f;
//send white color matrix
for(int i = 0; i < 64; i++){
Serial.print(red);
Serial.print(green);
Serial.print(blue);
}
unsigned char end1 = 0xaa;
unsigned char end2 = 0x55;
Serial.print(end1);
Serial.print(end2);
Yes you can add one command which means the following receiving data will be transmitted to a slave rainbowduino through I2C.
May it helpful to you,
Regards,
Icing