nRF24l01 writes data but is not receiving

I send data to another nRF24l01 but I can’t get data

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

RF24 radio(9,10); // radio(CE, CS);
const uint64_t al[1] ={0xE8E8F0F0E1LL};
const uint64_t ver[1]={0xE8E8F0F0E2LL};
int okunan[2];
int gelen[2];
char id='B';
char a;
int gaz;
void setup() {
Serial.begin(9600);
pinMode(3,OUTPUT);
radio.begin();
radio.openWritingPipe(ver[0]);
radio.openReadingPipe(1, al[0]);
okunan[1]=66;
}
void loop() 
{
radio.stopListening();
delay(50);
gaz = analogRead(A0);
okunan[0] = gaz;
radio.write(okunan, sizeof(okunan));
digitalWrite(3,LOW);
Serial.print("Ölçülen gaz miktari:  ");
Serial.println(okunan[0]);
radio.startListening();
delay(1000);
 
if (radio.available())
     { 
   radio.read(gelen, sizeof(gelen)); 
   digitalWrite(3,HIGH);
   a=gelen[1];
   Serial.print("Alınan gaz miktari:");
   Serial.print(gelen[0]);
   Serial.print("   ID:");
   Serial.println(a);   
   }
       radio.stopListening();
       delay(50);
    
}

You code has some problems. Take a look at the examples in @Robin2’s Tutorial.

oguzkaan80:
I send data to another nRF24l01 but I can't get data

Until you receive wireless data there is no evidence that anything has been sent.

Wireless problems can be very difficult to debug so get the wireless part working on its own before you start adding any other features.

The examples are as simple as I could make them and they have worked for other Forum members. If you get stuck it will be easier to help with code that I am familiar with. Start by getting the first example in my Tutorial to work

...R