void loop (){
if ( radio.available()) {
float got_tempout; // Variable for the received timestamp
while (radio.available()) { // While there is data ready
radio.read( &got_tempout, sizeof(unsigned long) ); // Get the payload
}
Serial.println(got_tempout);
delay (1000);
}
Mit dem delay?
Du solltest den Sender bremsen siehe Blink without delay.
void loop () {
float got_tempout; // Variable for the received timestamp
while (radio.available()) { // While there is data ready
radio.read( &got_tempout, sizeof(got_tempout) ); // Get the payload
}
keine Ausgabe mehr?
Statt des while solltest du ein if benutzen.