Ok so far here is the transmit seems to be working
typedef struct
{
float roll; // place roll value here
float pitch;// place pitch value here
float yaw; // place yaw value here
}RPYT_type; // lable the struct
RPYT_type imuVal = {inRoll,inPitch,inYaw}; // give float roll in RPYT_type value from incoming function argumet inRoll
Serial.println("");
Serial.print(imuVal.roll);
Serial.print(" , ");
Serial.print(imuVal.pitch);
Serial.print(" , ");
Serial.print(imuVal.yaw);
Serial.println("");
byte vals[3];
vals[0] = imuVal.roll;
vals[1] = imuVal.pitch;
vals[2] = imuVal.yaw;
Mirf.setTADDR((byte *)"base1"); // set name of Reciever
Mirf.send(vals); // figure out how to access and transmit second array segment containing inRoll,inPitch,inYaw
but on my rec side i have
void RPYT(byte data[3]){
//*********** Start convertion from byte to float *********
typedef struct{
float roll;
float pitch;
float yaw;
} RPYT_type;
RPYT_type imuVal = {data[0],data[1],data[2]};
Serial.print(imuVal.roll);
Serial.print("'");
Serial.print(imuVal.pitch);
Serial.print("'");
Serial.print(imuVal.yaw);
Serial.println("");
my TX is sending this
-0.00 , -0.01 , 0.01
3.23 , -0.33 , 0.10
2.43 , 0.01 , 0.09
1.95 , -0.39 , 0.08
0.64 , 0.37 , 0.07
RX is displaying this
0.00, 0.00, 0.00
3.00, 0.00, 0.00
2.00, 0.00, 0.00
1.00, 0.00, 0.00
0.00, 0.00, 0.00
i know im tired but i am seriously stumped