Sending new integer value to change value of integer at receiver usingNRF2401

for an example of sending data (int, float, etc)in a structure have a look at esp-32 with NRF24l01
change the CE and CSN setting to suit the microcontroller you are using, e.g. the ESP32 is

RF24 radio(4, 5);  //CE and CSN

e.g. a RPi pico rp2040 is

RF24 radio(20, 17);  // CE, CSN