try this way (in the Transceiver)
void loop() {
recvWithEndMarker();
if (newData) {
showNewData();
radio.write(receivedChars, strlen(receivedChars)+1);
}
}
You probably need to study Serial Input Basics again
try this way (in the Transceiver)
void loop() {
recvWithEndMarker();
if (newData) {
showNewData();
radio.write(receivedChars, strlen(receivedChars)+1);
}
}
You probably need to study Serial Input Basics again