 		dataFile.close();
 	} 
 	else {
-		Blink(LED, 5);
+		for(int i = 0; i < 5; i++) Blink(LED, 100);
 		Serial.print("Error opening ");
 		Serial.println(fileName);
 	}

			radio.sendACK();
			if (ackCount++%3==0) delay(3); 
		}
		Blink(LED,1);
	}
}


Payload data_rcv;

void setup() {
	Serial.begin(9600);
	rtc.begin();
	pinMode(10, OUTPUT);

	if(!SD.begin(chipSelect)) {
		while(true) { //stop forever and blink LED
			Blink(LED, 100);
		}
	}

	Serial.println("SD card initialized");

	radio.initialize(FREQUENCY,NODEID,NETWORKID);
	radio.setHighPower(); //uncomment only for RFM69HW!
	radio.encrypt(KEY);
	Serial.println("Setup Done");
}

void loop() {
