How to blink LEDs in biderectional wireless communication with nRF24L01?

Hello,

I am working on the project where I use two nRF24L01 transmitters for biderectional communication between two Arduino Nano. Each Arduino has a button and a LED. The idea is to make two objects which when ‘notice’ each other, have their LEDs blink and/or piezo speakers buzz. LEDs and piezo have to turn off when buttons are pressed.

The principle of work: transmitters send signal and when they receive responce, LEDs start to shine. You press, then release buttons, LEDs turn off and wait for a minute to turn on again (if only the signal is received).

The problem is that I want both LEDs to blink (not shine) at the same time when the signal is received. However, all my ideas on how I could do this did not work out. How to do that? Also, I would appreciate, if anyone shared their thoughts of how I could replace LEDs with Buzzer / piezo speaker.

Below is my current code.

#include <SPI.h>

#include <RH_NRF24.h>

// Singleton instance of the radio driver
RH_NRF24 nrf24;

int blueLed = 3;
int button = 5;

void setup() 
{
  Serial.begin(9600);
  
  pinMode(blueLed, OUTPUT);
  pinMode(button, INPUT);

  while (!Serial) 
    ; // wait for serial port to connect. Needed for Leonardo only
  if (!nrf24.init())
    Serial.println("init failed");
  // Defaults after init are 2.402 GHz (channel 2), 2Mbps, 0dBm
  if (!nrf24.setChannel(1))
    Serial.println("setChannel failed");
  if (!nrf24.setRF(RH_NRF24::DataRate2Mbps, RH_NRF24::TransmitPower0dBm))
    Serial.println("setRF failed");    
    }

void loop()
{  
  
   // Send a message
   
    uint8_t data[] = "Aloha";
    nrf24.send(data, sizeof(data));
    nrf24.waitPacketSent();

    if(digitalRead(button) == HIGH){
      digitalWrite(blueLed, LOW);
    }
    else{
      uint8_t data[] = "Aloha";
    nrf24.send(data, sizeof(data));
    nrf24.waitPacketSent();
    }
   

delay(1); 
    
    // Wait for a message
    
    uint8_t buf[RH_NRF24_MAX_MESSAGE_LEN];
    uint8_t len = sizeof(buf);
    while (nrf24.waitAvailableTimeout(200) && nrf24.recv(buf, &len)) {
   
        if(digitalRead(button) == HIGH){  
          digitalWrite(blueLed, LOW);    
          delay(60000);                   //wait for a minute
        }
        else {
          uint8_t data[] = "Aloha"; 
          nrf24.send(data, sizeof(data)); 
          nrf24.waitPacketSent(); 
          digitalWrite(blueLed, HIGH);     //otherwise, turn LED on 
          
        }
        
    }      
    

delay(1);

    
  
}

Any help would be appreciated a lot.