2 or more transceivers communicating to a master

I found a project on the project hub section, and i was trying to understand the coding. I am a beginner in programming, so apologies if perhaps my question is a kind of obvious. I found this project called “nRF24L01 Interfacing with Arduino | Wireless Communication” What i am trying to accomplish is to make 2 or maybe 3 arduinos communicate to a master one. so any help on the code would be helpful.
I would like to know how to implement a 3rd code so it can communicate with arduino 1, i try messing with the addresses, but couldn’t make it work

this are the codes for 2 arduinos comunicating with each other

code 1

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
RF24 radio(9, 10); // CE, CSN

const byte addresses [6] = {“00001”, “00002”}; //Setting the two addresses. One for transmitting and one for receiving
int button_pin = 2;
int led_pin = 3;
boolean button_state = 0;
boolean button_state1 = 0;
void setup() {
pinMode(button_pin, INPUT);
pinMode(led_pin, OUTPUT);
radio.begin(); //Starting the radio communication
radio.openWritingPipe(addresses[1]); //Setting the address at which we will send the data
radio.openReadingPipe(1, addresses[0]); //Setting the address at which we will receive the data
radio.setPALevel(RF24_PA_MIN); //You can set it as minimum or maximum depending on the distance between the transmitter and receiver.
}
void loop()
{
delay(5);
radio.stopListening(); //This sets the module as transmitter
button_state = digitalRead(button_pin);
radio.write(&button_state, sizeof(button_state)); //Sending the data
delay(5);

radio.startListening(); //This sets the module as receiver
while(!radio.available()); //Looking for incoming data
radio.read(&button_state1, sizeof(button_state1)); //Reading the data
if (button_state1 == HIGH)
{
digitalWrite(led_pin, HIGH);
}
else
{
digitalWrite(led_pin, LOW);
}
}

code 2

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(9, 10); // CE, CSN
const byte addresses [6] = {“00001”, “00002”}; //Setting the two addresses. One for transmitting and one for receiving
int button_pin = 2;
boolean button_state = 0;
boolean button_state1 = 0;
int led_pin = 3;
void setup() {
pinMode(led_pin, OUTPUT);
Serial.begin(9600);
km radio.begin(); //Starting the radio communication
radio.openWritingPipe(addresses[0]); //Setting the address at which we will send the data
radio.openReadingPipe(1, addresses[1]); //Setting the address at which we will receive the data
radio.setPALevel(RF24_PA_MIN); //You can set it as minimum or maximum depending on the distance between the transmitter and receiver.
}
void loop()
{
delay(5);
radio.startListening(); //This sets the module as receiver
if (radio.available()) //Looking for incoming data
{
radio.read(&button_state, sizeof(button_state));
if(button_state == HIGH)
{
digitalWrite(led_pin, HIGH);
}
else
{
digitalWrite(led_pin, LOW);
}
delay(5);

radio.stopListening(); //This sets the module as transmitter
button_state1 = digitalRead(button_pin);
radio.write(&button_state1, sizeof(button_state1)); //Sending the data
}
}

Start with the tutorial here: Simple nRF24L01+ 2.4GHz transceiver demo - Exhibition / Gallery - Arduino Forum

See post #17 in the thread for a simple method for how to implicate multiple slaves.

PS: Your title indicates perhaps some confusion with how things work. In a basic master-slave network, a slave cannot initiate communication, it waits until the master asks for data from it, only then does it respond. Each slave needs it own unique address.