EasyManua.ls Logo

Emakefun RF-NANO - 3.2 Multiple Send to One Receive Communication

Emakefun RF-NANO
34 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
24
5 characters
Mirf.payload = sizeof(value);
Mirf.channel = 90; //Set the used channel
Mirf.config();
Serial.println("Listening..."); //Start listening to received data
}
void loop()
{
if (Mirf.dataReady()) { //When the program is received, the received data is output
from the serial port
Mirf.getData((byte *) &value);
Serial.print("Got data: ");
Serial.println(value);
}
}
Data received by a receiving device
Figure 3-1-2
3.2 Implement multiple send to a receive communication
3.2.1 Experimental principle block diagram