   Wire.begin( RGB_ADDR );                // join i2c bus with address #4
   Wire.onReceive(receiveEvent);
   Wire.onRequest(requestEvent);
+  
+  pinMode(LED_1, OUTPUT);  
+  pinMode(LED_2, OUTPUT);  
   
   Serial.begin(9600);
 }

    mode_test();
    Wire.write( state );
  }
}

void writeDmxValues()

#define RGB_IDLE 0xF1
#define RGB_TEST 0xF2
#define RGB_TRAN 0xF3

#define LED_1 5
#define LED_2 3

byte state = RGB_IDLE;

