so i started today to study about nRF24l01 full time meaning im gonna read codes and learn how to
use it till i learn everything about it,
installed nRF24 lib. and started reading the code step by step and got a interesting question that
i didn't knew..
// First, stop listening so we can talk.
radio.stopListening();
// Take the time, and send it. This will block until complete
unsigned long time = millis();
printf("Now sending %lu...",time);
bool ok = radio.write( &time, sizeof(unsigned long) );
if (ok)
printf("ok...");
else
printf("failed.\n\r");
// Now, continue listening
radio.startListening();
// Wait here until we get a response, or timeout (250ms)
unsigned long started_waiting_at = millis();
I got at this point and my question is..
every time i apply the stop and start listening code that means i can make my nRF
communication back and forth like 2 way communication? if yes what will happen if i don't apply a
(over) messsage at the end of each message so the other arduino/nRF will know that i stopped
transmitting and now im receiveing.
Other question:
Can i send and receive messages at the same time without stopping and starting my communication?