   LocalPhyAddress[4] = EEPROM.read(EEPROM_PHY_ADDR_START+4);
   memcpy( RemotePhyAddress,LocalPhyAddress,5);
   RemotePhyAddress[0] = 0x00;
- 
-  radio.openWritingPipe(RemotePhyAddress);
-  radio.openReadingPipe(0,BroadCastAddress);
-  radio.openReadingPipe(1,LocalPhyAddress);
+  memcpy(addr,RemotePhyAddress,5);
+  radio.openWritingPipe(addr);
+  memcpy(addr,BroadCastAddress,5);
+  radio.openReadingPipe(0,addr);
+  memcpy(addr,LocalPhyAddress,5);
+  radio.openReadingPipe(1,addr);
   #if 0
   radio.begin();
   #endif


#define EEPROM_PHY_ADDR_START 0
#define RF24_PAYLOAD 32

RF24 radio(7,8);
byte LocalPhyAddress[5];
byte RemotePhyAddress[5];

      {                                   
        radio.read( data, RF24_PAYLOAD);             // Get the payload
      }
      radio.stopListening();                                        // First, stop listening so we can talk   
      BlockPorcess(data,data);
      radio.write( data, RF24_PAYLOAD);              // Send the final one back.      
      radio.startListening();                                       // Now, resume listening so we catch the next packets.     
   }
