I2C - Combining bytes into another variable - Trying to use union but failing

Hello AWOL

I changed the 3 to a 4 in the for statement. Thank you for pointing that out to me. Your stating that I'm not fully reference the array. I'm not sure how to accomplish this, could you instruct me possibly please. Thank you.

Remember that Received_Byte_Array forms part of the Distance union. Never worked with unions before so I'm not sure how to accomplish this. Thanks again

Dirk