Assume from my previous examples InBytes [x] is represented as this where each InByte[x] is an int:
const int vals[8] =
{
198, 107, 128, 232, 105, 245, 176, 243
};
and then I use the following:
double f;
memcpy( &f, vals, 8 );
Serial.println(f, 10);
this doesn't work.. However is the val's array about is represented by HEX instead of INT like this:
byte vals [] = {0xC6, 0x6B, 0x80, 0xE8, 0x69, 0xF5, 0xB0, 0x3F };
if converts to double with no issues..
My array is coming over to the Arduino as int.
--Randy