nrf24l01 communication help plz!!!!!!

so

if the radio reads somthing then print what it reads?

esle if it reads nothing print this.....

then redefine (msg[0] = 111) as something else after it is read?

update i have first code working with button and serial tried getting started example and both modules worked… problem isn in secound code on the mega it doesnt seem to be receaving any info with my code

micro remote control

#include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"
#include "printf.h"
int msg[1];
RF24 radio(9, 10);
const uint64_t pipe = 0xE8E8F0F0E1LL;
int SW1 = 7;

void setup(void)
{
  Serial.begin(9600);
  radio.begin();
  radio.openWritingPipe(pipe);
  pinMode(SW1, INPUT_PULLUP);
}

void loop(void)
{

  // if there is data ready
  if ( digitalRead(SW1) == HIGH)
  {
    delay(1);
    msg[0] = 111;
    radio.write(msg, 1);
    Serial.println("Forward");
  }
}

mega code not working

#include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"

int msg[1];
RF24 radio(9, 10);
const uint64_t pipe = 0xE8E8F0F0E1LL;
int led = 2;

void setup(void)
{
pinMode(led,OUTPUT);
  Serial.begin(9600);
  radio.begin();
  radio.openReadingPipe(1,pipe);
}

void loop(void)
{
  if (radio.available()) 
  {
    delay(1);
Serial.println("ready");
    bool done = false;
  while (!done)
    {
      done = radio.read(msg, 1);
      Serial.println(msg[0]);
    }
      if (msg[0] == 111)
      {
        delay(1);
        digitalWrite(led,HIGH);
        Serial.println("Forward");
      }
    }
  }