   SPI.setBitOrder(MSBFIRST);
   SPI.setDataMode(SPI_MODE0);
   SPI.setClockDivider(SPI_CLOCK_DIV4);
-  SPI.begin();
 
   // Initialise control pins
   pinMode(PROG, OUTPUT);

  pinMode(_FCSN_, OUTPUT);
  digitalWrite(_FCSN_, HIGH);

  Serial.println("READY");
  while (!Serial.find("GO\n"));

  // Put nRF24LE1 into programming mode
  digitalWrite(PROG, HIGH);

  delay(10);
  digitalWrite(_RESET_, HIGH);

  SPI.end();
  
  Serial.println("DONE");

}

int ParseHexRecord(struct hexRecordStruct * record, char * inputRecord, int inputRecordLen){
