Vital parts of the code are missing, so impossible for anyone to help. There are numerous guides on how to use NRF24 with Arduino, try to get one of those working before you add your own code for handling other things.
Vital parts of the code are missing, so impossible for anyone to help. There are numerous guides on how to use NRF24 with Arduino, try to get one of those working before you add your own code for handling other things.