Turning on Led via Push button using Virtual Wire library?

Hi Im new to programming. Recently I've used virtual wire library using the serial and it worked fine. Now I'm trying to simple control the led on the receiver side by pushing two buttons on the transmitter side using the virtual wire as it's wireless communication. Is it possible to do it? Or if you're going to use virtual wire, you can only send data via serial and not with push buttons? Please Help. ASAP :)


link? like?

Having your code read the push buttons and then sending a message via virtual wire is perfectly acceptable - that's how my RF remote control works.

If you use the virtualwire transmit example, you just put some data in the array msg[] and then let the TX part send it out.

Thanks. Got it now.