Strange behaviour of radio.openWritingPipe with NRF24L01

wonderfuliot:
I dont want a global variable to hold the address and the library wants it to be global,

Maybe that is because local variables go out of scope. Or maybe because the compiler puts the local variable in a register.

Have you tried making the local variable static?

Have you looked at the library source code to see what it is expecting?

And, more simply, what harm would it be to use a global variable?

...R