     
     writeDmxValues();
   }
+  
+  digitalWrite(LED_1, LOW);
 }
 
 void requestEvent()
 {
+  digitalWrite(LED_2, HIGH);
+  
   if( state == RGB_TRAN )
   {
     //return the current rgb values

// this function is registered as an event, see setup()
void receiveEvent(int num_bytes)
{
  Serial.print("data received, #bytes: ");
  Serial.print(num_bytes);
  Serial.println("");

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

#define LED_1 5
#define LED_2 3

byte state = RGB_IDLE;

