Help me with my program

I dont have any basic using nRF24L01. Can someone help me on my programming to connect 2 arduino UNO using nRF24L01. I would like to turn on LED on the second arduino when Ultrasonic sensor on the first arduino detect an object. Just a simple code to get me understand how it works.

Have a look at Simple RF24 Tutorial