First, it will send character '1' and after two seconds it will send character '0' and so on. Vw_wait_tx() // Wait until the whole message is gone Vw_send((uint8_t *)controller, strlen(controller)) Vw_setup(4000) // speed of data transfer Kbps Copy and paste the VirtualWire.lib file in the libraries folder as highlighted in the screenshot given below. If required, enable Wildcard VLAN and set the VLAN Filter. These interfaces cannot be part of a switch, such as the default LAN/internal interface. Select the Interface Members to add to the virtual wire pair. For more detailed information about the test results, please look at each examples comments. To add a virtual wire pair using the GUI: Go to Network > Interfaces. This library and its examples were tested on with common Arduino boards. client receiver server transmitter codebender. Share this library with your friends on your favorite profile: Examples. Note − You must include the keypad library in your Arduino library file. VirtualWire (VirtualWire.h) VirtualWire Library. Timing isnt even required if you omit vwwaitrxmax (). If you dont know about direct port manipulation via DDRn, PINn, and PORTn, there are plenty of tutorials. Coding in the Arduino language will control your circuit. Honestly, the only things in your way are pinMode (), digitalRead (), digitalWrite (), and a timing function like millis (). Open the Arduino IDE software on your computer.