 
       //buffer size is the difference between the current and start pointers
       buf_size = buf_curr - buf_start;
-
+      
+      //arduino is little endian (LSB first)
       Serial1.write(buf_start, buf_size);
-       delayMicroseconds(50);
-      //arduino is little endian (LSB first)
       
       #ifdef writeDebug
         //check that buffer size did not exceed allocated size


void setup()
{
  pinMode(PIN_PAYLOAD, OUTPUT);
  
  //Make sure Serial baud matches hardware config
  Serial1.begin(57600); //XBee baud rate

#define FLAG_GPS_FIX 0b00000001
#define FLAG_PAYLOAD 0b00000010

//directives received from ground station
//make sure these match on the sending end
#define DIR_TEST 0xAB
#define DIR_PAYLOAD 0xACDIR_TEST

#define PIN_TEST 13

//Payload variables
#define MAX_BUF 16  // Maximum payload size 
