// Wire Master Writer // by Nicholas Zambetti // Demonstrates use of the Wire library // Writes data to an I2C/TWI slave device // Refer to the "Wire Slave Receiver" example for use with this // Created 29 March 2006 #include #define LED_OUT 13 void setup() { Wire.begin(); // join i2c bus (address optional for master) pinMode(LED_OUT, OUTPUT); digitalWrite(LED_OUT, LOW); } byte x = 0; void loop() { for (int i=0; i