#include "XbeeTools.h"

task main()
{
  InitRS485(); //Initialize the Xbee Radio

  string messageReceived; //Create a string to fill with message
  ReceiveString(messageReceived); //Wait to receive message

  nxtDisplayString(1, "A Said:%s", messageReceived); //Display the message to line one of the LCD screen

  wait1Msec(5000); //Display for 5 seconds
}
