I have a working project using the nRF24l01 that sends a numeric sequence to another nRF24l01. currently, the code locks up if the nRF24l01 has a problem (interference, power supply etc. . I assume that the library is requiring the nRF24l01 to acknowledge and won't continue without it. I could write code to re-transmit the data but since it is locked up I don't have the opportunity to recover. what is happening with the nRF24l01? Cna anyone help? the section of code relating to the transmitting...
ps. I think I would also like to receive an acknowledgement from the receiver but I don't know how.
/////////////////Transmit to wireless //////
void Xmit() //start ......function Xmit......
{
xmitValue = xmitValue += timeOn ; //add display time
dataTransmitted = (xmitValue.toInt()) ;// string to int
lcd.clear();
lcd.setCursor(5, 0);
lcd.print(" DONE");
//lcd.setCursor(0, 1); // option
//lcd.print(" Going to Sleep"); // option
nRFRadio.write( &dataTransmitted, 5); // Transmit the data
// Serial.print(dataTransmitted); //testing...
delay(3000) ; //wait after transmission to clear display
lcd.clear();
//lcd.setBacklight(LOW) ; //blank display?.. option
} //end ......function Xmit.....
I hope this makes sense.
Bill