// Set the digital IO pin to be for transmit data // Defaults to 12 extern void vw_set_tx_pin(uint8_t pin); // Set the digital IO pin to be for receive data // Defaults to 11 extern void vw_set_rx_pin(uint8_t pin); // Set the digital IO pin to enable the transmitter (press to talk) // Defaults to 10 extern void vw_set_ptt_pin(uint8_t pin);
so you may not need that for your device.
// Initialise the Wireless Receiver IO and ISR // set Virtual Wire data input to Pin 9 from 11 vw_set_rx_pin(9); // found this in forum 25 Aug 09 // set the Bits per sec vw_setup(2000); // Start the receive PLL running vw_rx_start();
// Initialise the IO and ISR for VirtualWire vw_setup(4000); // Bits per sec - had to double from 2000 with 8MHz 3.3V Pro-Mini
with D10 being used as a Column pin for a keypad, and D11/D13 not used.
with SPI to a MAX7221,
functions like digital write,analog write etc can too be done there
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16