The nRF24L01 transceiver is connected as per the standard pin mentioned in every site.
Two Arduino UNO boards
The transmitter arduino board has a swtich which is connected to PIN 2
The Reciever arduino board has a LED connected to PIN 2
Now we need to program it and we are using Maniacbug RF24 library