-#include <SPI.h>
-#include <RFM69.h>
+  #include <SPI.h>
+  #include <RFM69.h>
 
-#define MASTERADDRESS 3
+  #define MASTERADDRESS 3
   #define CODELOCKADDRESS 2
   #define NETWORKADDRESS 0
   #define FREQUENCY     RF69_868MHZ
   #define ENCRYPTKEY    "TOPSECRETPASSWRD" 
-  #define USEACK        true // Request ACKs or not
+  #define USEACK        true
   RFM69 radio;
 
 

}
void grantAccess()
{    
    digitalWrite(relay2, HIGH);
    delay(2000);
    digitalWrite(relay2, LOW);  

{
  if (radio.receiveDone())
  {
    Serial.print("massage[");
    int premenna = 0;
    for (int i = 0; i < radio.DATALEN; i++)
    {
      Serial.print((char)radio.DATA[i]);
      readCode[i] = (char)radio.DATA[i];
    }
    Serial.print("]");
    if (radio.ACKRequested())
    {
      radio.sendACK();
      if (verifyCode())grantAccess(); 
    }
  }
