import stamp.core.*; import stamp.rf.*; /** * Put a one line description of your class here. *
* This comment should contain a description of the class. What it
* is for, what it does and how to use it.
*
* You should rename the class and then save it in a file with
* exactly the same name as the class.
*
* @version 1.0 Date
* @author Your Name Here
*/
public class xBeeTestRX
{
static Uart tx;
static StringBuffer buff = new StringBuffer(16);
static char temp;
public static void main()
{
System.out.println("Booting...");
XBee base = new XBee(CPU.pin6,CPU.pin7,0,"BASE NODE");
System.out.println("Ready...");
base.send("Communication Established\r");
while (true)
{
while (base.byteAvailable())
{
temp = (char)base.rxByte();
if (temp == 0x0D)
{
System.out.print("