RF24 watch RF pipe while rest of sketch runs

This code is designed for use in a non-blocking sketch. The sketch would execute this code at regular intervals and handle radio messages as they arrive. You would need to design the rest of your sketch to be non-blocking too, so that it can execute this code periodically.