 
 void loop()
 {
-  //nothing to actually do here everithing is done in interrupts
+  ////////
 }
 
 /*-----------------------

ISR (SPI_STC_vect)
{

//servo values updated by Rpi
  union int_byt{
    uint8_t b[2];
    uint16_t un;
  } *rx_data = new int_byt[SERVO_NUM],
    *tx_data = new int_byt[SERVO_NUM];


  tx_data[0].un = unThrottleInShared;
  tx_data[1].un = unYawInShared;
  tx_data[2].un = unPitchInShared;
  tx_data[3].un = unRollInShared;

  Serial.print("Sent : ");
  for (int i=0; i<SERVO_NUM; i++){
    Serial.print(tx_data[i].un);
    Serial.print(" ");
    for (int ibyte=0; ibyte<2; ibyte++){
      // grab byte from SPI Data Register
      rx_data[i].b[ibyte] = SPI.transfer(tx_data[i].b[ibyte]);
    }
    Serial.print(rx_data[i].un);
    Serial.print(" ");

  }
  Serial.println(" ");
}

/*----------------------------------

    SPI settings
  */

  //SPI.setDataMode(SPI_MODE0);

  // Declare MISO as output : have to send on
  //master in, *slave out*
