When i use the code like the example, all packets are sent correctly.
// look for a good SBUS packet from the receiverif(x8r.read(&channels[0], &failSafe, &lostFrame)){// write the SBUS packet to SBUS compatible servosx8r.write(&channels[0]);}
But if i write a packet what are not received of x8r, this doesn't works correctly, i trying all intervals for 1 ms~50ms of delay between packets.
I suppose it is a time issue between packages being sent.
When i use the code like the example, all packets are sent correctly.
// look for a good SBUS packet from the receiver
if(x8r.read(&channels[0], &failSafe, &lostFrame)){
// write the SBUS packet to SBUS compatible servos
x8r.write(&channels[0]);
}
But if i write a packet what are not received of x8r, this doesn't works correctly, i trying all intervals for 1 ms~50ms of delay between packets. I suppose it is a time issue between packages being sent.