NRF24L01 example code with Arduino Uno and OpenCM

Very strange, I doubt that is from the example code, and it can lead to unexpected behavior.

While reading from not owned memory does not hurt on most Arduinos,

int time1;

  time1=millis();
  radio.write(&time1, 32);

that code is still strange too.

BTW, on an UNO, ints can not hold the value returned by millis().

Your "receiving failed" is to be expected, most of the time there will be no packet.
It's not a good idea to print under that circumstance.
Print when you had no reception in the last second, or whatever suits you.

1 Like