Question about nrf24l01+pa+lna board with Mega 2560(RX) and UNO(TX))

You've not indicated that you've tried any other sketches. Your best chances of getting your particular code to work, is to start with the tutorials that are provided here:

Read the first post and the jump to post #30 to run the connection check sketch on your UNO.

You should also run the same sketch on your 2560, but using the appropriate SPI pins. Away from my bench so I don't have the pins to hand.

Post the serial output from the tests here so we can confirm that the modules are wired correctly.

1 Like