   //Set servo values to min
   for (int i=0;i<SERVO_NUM;i++)
     {
-      MOTOR[i].writeMicroseconds(RC_MIN);
-    }
-
+      rcv_data[i].i =RC_MIN;
+      MOTOR[i].writeMicroseconds(rcv_data[i].i);
+    }
 
   // initialize i2c as slave
   // define call backs ofr I2C

} *rcv_data = new int_byt[SERVO_NUM];



void setup()
{
  Serial.begin(9600);
  Serial.println("multiChannels");

  pinMode(LED_PIN, OUTPUT);


      bUpdateFlagsShared |= ROLL_FLAG;
    }
}
