I am attaching two codes, one for Rx and one for Tx for NRF24L01. The Tx code has variable ‘address’ defined locally as well as globally. When global is enabled, it works, but when local is enabled, it does not. Why? I see no reason. setAddressWidth is set to 4 so only 4 bytes of address are supposed to beused irrespective of local or global. Its strange.
GettingStartedRx.ino (1.69 KB)
GettingStartedTx.ino (1.21 KB)