Robin2:
Neither do I. Interesting. At least you have a work-aroundI don't have the time to set up a test at the moment to see if I get the same result.
What happens if you change
bool ack = radio.write(&rxTxData, sizeof(long));to
bool ack = radio.write(&rxTxData, sizeof(rxTxData));and
radio.read(&rxTxData, sizeof(long));to
radio.read(&rxTxData, sizeof(rxTxData));...R
I changed the code like you mentioned it, but nothing helped.
I fixed my problem yesterday... You won't believe what the problem was...
The power cable from the voltage regulator to the NRF24L01 was broken.
This produced the "0". I checked all cables, and the "0" disappeared when I moved this cable.
I swapped the cable with a new one and all works fine now.
Thank you for all your assistance