for (int i=0; i<4;i++)
{
bytes[i]=rx_frame.data[i];
}
Outputs:
Bytes values: 0x00 0x00 0x0C 0x42
for (int i=3; i>-1;i--)
{
bytes[i]=rx_frame.data[3-i];
}
Outputs:
Bytes values: 0x42 0x0C 0x00 0x00
and beucase 35 as a float is: 0x420c0000 i took the second option, but it does not work anyway.
so i am not sure.