change the default pin

778 views
Skip to first unread message

Quentin Wavelet

unread,
Mar 19, 2016, 12:40:31 PM3/19/16
to virtualwire
hello i'm french and i sorry for my very bad english 

i work with a touchscreen (2.8'') and a receiver radio on arduino uno but the touchscreeen use a pin 11 and my receiver want to use this pin i have read a lot of information on a web but i didn't understand what i do 

Mike McCauley

unread,
Mar 19, 2016, 5:17:42 PM3/19/16
to virtu...@googlegroups.com
You can use vw_set_rx_pin() to specify a different RX pin.

But you should note from the documentation:


This VirtualWire library has now been superceded by the RadioHead
library http://www.airspayce.com/mikem/arduino/RadioHead
RadioHead and its RH_ASK driver provides all the features supported by
VirtualWire, and much more
besides, including Reliable Datagrams, Addressing, Routing and Meshes. All the
platforms that
VirtualWire supported are also supported by RadioHead.

Cheers.
--
Mike McCauley VK4AMM mi...@airspayce.com
Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia
http://www.airspayce.com
Phone +61 7 5598-7474

Reply all
Reply to author
Forward
0 new messages