void setup() {
  // put your setup code here, to run once:

  Serial.begin(115200);
// #float:     FLOAT:  4 bytes: example, 3.1415 stored as {0x56, 0x0E, 0x49, 0x40}

  //uint8_t floatBytes[] = {0x01, 0x24, 0x5C, 0x00};

  int32_t longitude;
  int32_t latitude;
  int32_t hight;



  uint8_t byteArray[] = {0xFC, 0x24, 0x5C, 0xF7, 0x36, 0x9D, 0x00, 0x1A, 0x90};
  //FC245C F7369D 001A90

  longitude |= (int32_t) 0xFF<<24;
  longitude |= (int32_t) byteArray[0]<<16;
  longitude |= (int32_t) byteArray[1]<<8;
  longitude |= (int32_t) byteArray[2];

  float flong = (float)longitude/10000;


  Serial.println(flong,4);
  Serial.println(sizeof(longitude));
  Serial.println(0xFC<<32, HEX);

  //float myFloat = *(float*)(floatBytes);
  //float otherFloat = -3.1415;
/*
  Serial.print("Value in array: ");
  for(uint8_t i = 0; i < sizeof(floatBytes); i++)
  {
    Serial.print("0x");
    if(floatBytes[i] < 0x10) Serial.print ("0");
    Serial.print(floatBytes[i], HEX);
    Serial.print(", ");
  }
  Serial.println();
  Serial.print("The represented float value is: ");
  Serial.println(myFloat, 4);
  Serial.println(otherFloat, 4);
*/
}


void loop() {
  // put your main code here, to run repeatedly:

}