 
 struct dataStruct{
   unsigned long _micros;
+  bool Pulse;
   int BPM;
   int IBI;
 }myData;

	
	if (role == role_ping_out)  
	{ //sender
		Serial.print('S');
		Serial.println(pulseDetector.getSignal());
		
		// If the ISR has seen a beat, print the per-beat information.
		if(QS){
			myData.BPM = pulseDetector.getBPM();
			myData.IBI = pulseDetector.getIBI();
			bool ok = radio.write( &myData, sizeof(myData) );
			QS = false;
		}

		}
		analogWrite(PIN_FADE, fadePWM);
		
		
	}

}
