I have a question about RF sample code given by sparkfun.
To those of you who are experienced with these, don’t think of me
as silly. As a beginner, there are tons of questions as you might have
gone through too.
Anyway, so here is the question. In RF sample code, it has all the
transmitt and receive code compiled together. To test this, I need
2 nRF2401 transceivers. But what I am confused of is that if I have
2 nRF2401 transceivers, how will I know which one to transmit and
the others to receive?
I use this sample code to burn it on microcontrollers. But would both tranceivers tries to receiver at the same time or transmit at the
same time?? How can I control that one to transmit and the others to
receive? Do I delete the code line “receive()”? But then that transceiver
will only work as a transmitter since I deleted the “receive” part.
Any comments?