Now that I'm home I can show you a
better sample:
Code: Select all
#include <VirtualWire.h>
const int led_pin = 11;
const int transmit_pin = 12;
const int receive_pin = 2;
const int transmit_en_pin = 3;
void setup()
{
// Initialise the IO and ISR
vw_set_tx_pin(transmit_pin);
vw_set_rx_pin(receive_pin);
vw_set_ptt_pin(transmit_en_pin);
vw_set_ptt_inverted(true); // Required for DR3100
vw_setup(2000); // Bits per sec
}
byte count = 1;
void loop()
{
char msg[7] = {'h','e','l','l','o',' ','#'};
msg[6] = count;
digitalWrite(led_pin, HIGH); // Flash a light to show transmitting
vw_send((uint8_t *)msg, 7);
vw_wait_tx(); // Wait until the whole message is gone
digitalWrite(led_pin, LOW);
delay(1000);
count = count + 1;
}
Did you see ? ...there it's just an include cmd... the "VirtualWire.h" one, so just one lib.
This lib use another RF hardware.
So what I want is to use something like this with the RFLink hardware,
for this reason I buy 2 arduino+RFLink hardware.
So is there is something also for the RFLink hardware ? in order to use it with out the complete firmware.
And yes... I'm sure can be done, but I don't know how with the Aurel Tranceiver... for this reason I ask on this thread.
If you don't understand what I want, just ask and I'll explain better.
If you understand what I want but you don't want to help, please don't make a bad jokes.
Thanks again
Denis