9Views0Replies

Author Options:

Done = radio.read( received_data, num_received_data ); this compile value not ignored as it ought to be Answered

in rx board function

done = radio.read( received_data, num_received_data ); this compile value not ignored as it ought to be

while (!done)
{ // Fetch the payload, and see if this was the last one.

done = radio.read( received_data, num_received_data );

ESC_value=received_data[0]*10; //Multiplication by 10 because the ESC operates for vlues around 1500 // and the nRF24L01 can transmit maximum of 255 per packet

esc.writeMicroseconds(ESC_value); // Serial.println(ESC_value);

servo.write((received_data[1])); // Serial.println(received_data[1]);

}

// how to solve this problem thank you verymuch.

Discussions