Issues in provided code for nRF24L01

Maybe Robin's Simple nRF24L01+ 2.4GHz transceiver demo can be of help.