I’ve been using Arduino for a year now, doing some projects, lurking this forum for help and answers. Decided to start a thread because I couldn’t find a simple explanation to a certain question so far.
While using nRF24L01 modules, including
#include <SPI.h> #include <Mirf.h> #include <nRF24L01.h> #include <MirfHardwareSpiDriver.h>
in my sketches, I came across two setup functions of Mirf that I cannot grasp.
Namely, Mirf.setTADDR & setRADDR.
Folks suggest setting TADDR when you transmit, or RADDR when you receive, thus the first letter change, that I understood.
I see many sketches using them, and some that don’t, but in personal implementations I don’t see any difference while I am using them or not, naming them the same or not. My nodes were sending and receiving the information back and forth without being affecting by those configurations.
So, what would be the simplest explanation for those two functions? What are they used for? And what are their function in multi-node projects?