 const int led_on = HIGH;
 const int led_off = LOW;
 
-time_t start_time;
+volatile time_t start_time;
 time_t current_time;
 void setup()
 {
+  start_time = now();
   pinMode(led_pin, OUTPUT);
 	digitalWrite(led_pin, led_off);
 	digitalWrite(reset_pin, HIGH);
 	pinMode(reset_pin, OUTPUT);
   Serial.begin(BAUD_RATE);
   Serial.println("Starting the Receiver!");
+  Serial.print("Starting time: ");
+  Serial.println(start_time);
   
   tx_packet.set_Address(0x00000000C0A80165);  
   //tx_packet.set_Address(0x00000000FFFFFFFF);

 if (Uart.available()) {
		c = Uart.read();
//		Serial.write(c);
                if(c == 0x7E) Serial.println();
                Serial.print(c, HEX);
                Serial.print(" ");

    delay(2000);
  uint16_t length = tx_packet.prepare2send();
  uint16_t i;
  
  for(i = 0; i < length; i++)
  {
    //Uart.print(tx_buffer1[i], BYTE);
