NRF24L01 write to two different addresses

Is it possible to write to two different addresses from the same transmitter with the NRF24L01?

using

RF24 radio(7, 8); // CE, CSN
const byte address[6] = "00001";

and

void setup() {
  radio.begin();
  radio.openWritingPipe(address);
  radio.setPALevel(RF24_PA_MIN);
  radio.setDataRate(RF24_2MBPS);
  radio.stopListening();
}

I can write data from the transmitter using

 radio.write(&state, sizeof(state));

however, I would subsequently like to write to another address after I write the variable state to the first.

Thanks!

That's what the openWritingPipe() function is for.

OK thanks, I just ran another

radio.openWritingPipe(address2)

this seems to work however I notice a slight delay, is there a faster way to open pipes or write to two addresses one after another?

Have a look at this Simple nRF24L01+ Tutorial.

It includes an example for a master and 2 slaves that can easily be extended to a larger number of slaves.

...R