Probao sam ali nisam uspeo trazio sam da vidim kako drugi set-uju i pronasao sam ovaj link
https://roboindia.com/tutorials/arduino-nrf24l01/ domet odlican ali sporko ukljucuje taster i sporo gasi i pali diodu...
//Robo India Tutorial on nRF24L01
//Simple Code for transmitter
#include <SPI.h> //Communication Interface with modem
#include "nRF24L01.h"
#include "RF24.h" //library to control radio modem
RF24 radio(9,10); //Creating an object
const uint64_t pipes[2] = { 0xF0F0F0F0E1LL, 0xF0F0F0F0D2LL };
unsigned long Command ;
void setup()
{
Serial.begin(57600);
pinMode(4,INPUT);
radio.begin(); //activates modem
radio.setRetries(15,15); //number of times modem retry to send data
radio.openReadingPipe(1,pipes[1]);
radio.startListening();
radio.printDetails();
radio.openWritingPipe(pipes[0]); //sets address to recevier
radio.openReadingPipe(1,pipes[1]);
radio.stopListening(); //switch the modem to data transmission mode
}
void loop(void)
{
radio.stopListening();
if (digitalRead(4)==1){
Command=1;
}
else
{
Command=2;
}
radio.write( &Command, sizeof(unsigned long) ); //blocks the program until it receives the acknowledgment
radio.startListening();
delay(1000); //stops program for one second .......................u ovom redu promenio delay(100) na 100 umesto 1000 i sad sve radi kako treba hvala svima.
}