Hi I was planning to make a star configuration network with nrf24l01. I am planning to use one tx and three rx modules to turn on some leds simultaneously. I dont have any idea about how should I write the tx-rx pipes on the code since I couldnt find any example about this on the internet.
on the tx side I wrote
const uint64_t pipe[4] = {0xE8E8F0F0E1LL, 0xE8E8F0F0E2LL, 0xE8E8F0F0E3LL, 0xE8E8F0F0E4LL};
radio.openWritingPipe(pipe[1]);
radio.openWritingPipe(pipe[2]);
radio.openWritingPipe(pipe[3]);
on the rx side for one module I wrote
const uint64_t pipe[4] = {0xE8E8F0F0E1LL, 0xE8E8F0F0E2LL, 0xE8E8F0F0E3LL, 0xE8E8F0F0E4LL};
radio.openReadingPipe(4, pipe[4]);
radio.startListening();
Is that wrong? Appreciate for any help. Thanks.