Transmitter side of simple one-way transmitter->receiver pair using VirtualWire
void setup()
{
Serial.begin(9600);
Serial.println("setup");
}
void loop()
{
{
int i;
digitalWrite(13, true);
Serial.print("Got: ");
for (i = 0; i < buflen; i++)
{
Serial.print(buf[i], HEX);
Serial.print(" ");
}
Serial.println("");
digitalWrite(13, false);
}
}