user58955: The code i make is this 
    */
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <Servo.h>
#define CE_PIN   9
#define CSN_PIN 10

const uint64_t pipe = 0xE8E8F0F0E1LL;
int servoy;
int servox;
Servo Yservo; 
Servo Xservo; 

RF24 radio(CE_PIN, CSN_PIN);

int joystick[2];

void setup()RF24
{
  Serial.begin(9600);
  delay(1000);
  radio.begin();
  radio.openReadingPipe(1,pipe);
  radio.startListening();
  Xservo.attach(3);
  Yservo.attach(5);
}

void loop()
{
  if ( radio.available() )
  {
    bool done = false;
    while (!done)
    {
done = radio.read( joystick, sizeof(joystick) );
servox= joystick[0]/5.683; 
servoy= joystick[1]/5.683;    
      Serial.println(servoy);
      Yservo.write(servoy);
      Serial.println(servox);
      Xservo.write(servox);
    }
  }
  else
  {    
      Serial.println("NO RADIO CONECTION");
  }

}

and i don't know what  happen it's said that 
 sketch_aug20b_rc_rc_rc_22:33:13: error: expected initializer before 'RF24'

 void setup()RF24

             ^

C:\Users\ASUS\Documents\Arduino\sketch_aug20b_rc_rc_rc_22\sketch_aug20b_rc_rc_rc_22.ino: In function 'void loop()':

sketch_aug20b_rc_rc_rc_22:51:6: error: void value not ignored as it ought to be

 done = radio.read( joystick, sizeof(joystick) );

      ^

exit status 1
expected initializer before 'RF24'


user4143: You have two problems:
sketch_aug20b_rc_rc_rc_22:33:13: error: expected initializer before 'RF24'

void setup()RF24

         ^

It's basically saying "I don't understand what you mean by RF24 here". That RF24 in that line should not exist. I assume you made some kind of typo or copy-pasta error.
Second:
C:\Users\ASUS\Documents\Arduino\sketch_aug20b_rc_rc_rc_22\sketch_aug20b_rc_rc_rc_22.ino: In function 'void loop()':
sketch_aug20b_rc_rc_rc_22:51:6: error: void value not ignored as it ought to be

 done = radio.read( joystick, sizeof(joystick) );

That is saying that radio.read doesn't return a value - yet you are trying to assign that value that doesn't exist to something.
According to the documentation for RF24::read():

Read the available payload
The size of data read is the fixed payload size, see getPayloadSize()
Note
I specifically chose 'void*' as a data type to make it easier for beginners to use. No casting needed.
No longer boolean. Use available to determine if packets are available. Interrupt flags are now cleared during reads instead of when calling available().
Parameters

buf   Pointer to a buffer where the data should be written
len   Maximum number of bytes to read into the buffer
if(radio.available()){
   radio.read(&data,sizeof(data));
  }

Returns
No return value. Use available().


58955: <p>The code i make is this 
    */</p>

<pre><code>#include &lt;SPI.h&gt;
#include &lt;nRF24L01.h&gt;
#include &lt;RF24.h&gt;
#include &lt;Servo.h&gt;
#define CE_PIN   9
#define CSN_PIN 10

const uint64_t pipe = 0xE8E8F0F0E1LL;
int servoy;
int servox;
Servo Yservo; 
Servo Xservo; 

RF24 radio(CE_PIN, CSN_PIN);

int joystick[2];

void setup()RF24
{
  Serial.begin(9600);
  delay(1000);
  radio.begin();
  radio.openReadingPipe(1,pipe);
  radio.startListening();
  Xservo.attach(3);
  Yservo.attach(5);
}

void loop()
{
  if ( radio.available() )
  {
    bool done = false;
    while (!done)
    {
done = radio.read( joystick, sizeof(joystick) );
servox= joystick[0]/5.683; 
servoy= joystick[1]/5.683;    
      Serial.println(servoy);
      Yservo.write(servoy);
      Serial.println(servox);
      Xservo.write(servox);
    }
  }
  else
  {    
      Serial.println("NO RADIO CONECTION");
  }

}
</code></pre>

<p>and i don't know what  happen it's said that </p>

<pre><code> sketch_aug20b_rc_rc_rc_22:33:13: error: expected initializer before 'RF24'

 void setup()RF24

             ^

C:\Users\ASUS\Documents\Arduino\sketch_aug20b_rc_rc_rc_22\sketch_aug20b_rc_rc_rc_22.ino: In function 'void loop()':

sketch_aug20b_rc_rc_rc_22:51:6: error: void value not ignored as it ought to be

 done = radio.read( joystick, sizeof(joystick) );

      ^

exit status 1
expected initializer before 'RF24'
</code></pre>
 4143: <p>You have two problems:</p>

<pre><code>sketch_aug20b_rc_rc_rc_22:33:13: error: expected initializer before 'RF24'

void setup()RF24

         ^
</code></pre>

<p>It's basically saying "I don't understand what you mean by RF24 here". That <code>RF24</code> in that line should not exist. I assume you made some kind of typo or copy-pasta error.</p>

<p>Second:</p>

<p>C:\Users\ASUS\Documents\Arduino\sketch_aug20b_rc_rc_rc_22\sketch_aug20b_rc_rc_rc_22.ino: In function 'void loop()':</p>

<pre><code>sketch_aug20b_rc_rc_rc_22:51:6: error: void value not ignored as it ought to be

 done = radio.read( joystick, sizeof(joystick) );
</code></pre>

<p>That is saying that <code>radio.read</code> doesn't return a value - yet you are trying to assign that value that doesn't exist to something.</p>

<p>According to the documentation for <code>RF24::read()</code>:</p>

<blockquote>
  <p>Read the available payload</p>
  
  <p>The size of data read is the fixed payload size, see getPayloadSize()</p>
  
  <p><strong>Note</strong></p>
  
  <p>I specifically chose 'void*' as a data type to make it easier for beginners to use. No casting needed.</p>
  
  <p>No longer boolean. Use available to determine if packets are available. Interrupt flags are now cleared during reads instead of when calling available().</p>
  
  <p><strong>Parameters</strong></p>
  
  <ul>
  <li><code>buf</code>   Pointer to a buffer where the data should be written</li>
  <li><p><code>len</code>   Maximum number of bytes to read into the buffer</p>
  
  <p>if(radio.available()){
   radio.read(&amp;data,sizeof(data));
  }</p></li>
  </ul>
  
  <p><strong>Returns</strong></p>
  
  <p>No return value. Use available().</p>
</blockquote>
