کد PHP:
#include <SPI.h>
#include <SoftwareSerial.h>
#include "SerialLib.h"

SoftwareSerial nrf(45);
// the setup function runs once when you press reset or power the board
void setup() {
    
Serial.begin(9600);
    
nrf.begin(9600);
}

// the loop function runs over and over again until power down or reset
void loop() {


    if (
nrf.available())
    {
        
char str nrf.read();
        
// str ready for send to nrf24l01
    
}