NRF24 Problem in coding HELP!

Hello I am needing some help with trying use two NFR24 chips to control my gate at my house.

I am using arduino Nano, if that changes anything

It is a very simple all i need is when i press a button Transmitter sends"Open Gate" to Receiver and pin #? go High and and controls a relay or transistor to open gate.

I am having problems with the nodes no pairing up I am trying a first step by using the serial terminal to make sure they will pair but they will not for some reason.

please tell me what i need to fix.

I have attached the code i have so far at bottom.

Thank you

New_NRF24_reciver.ino (581 Bytes)

New_NRF24_transmitter.ino (377 Bytes)

Robin2's simple rf24 tutorial is the best tutorial that I found for learning to use those radios. He supplies example code and some good advice on powering those radios. A large percentage of the problems people have with them is power related.

If you post your code as described in the forum guidelines more people will see it.