[Solved] how to translate the GPS coordinates in the form (degrees, minutes, seconds) C #? [closed]
You need read about BitConverter.ToInt32. You can write something like this: byte[] Value = new byte[] { 0x21, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x50, 0x34, 0x00, 0x00, 0xE8, 0x03, 0x00, 0x00 }; int deg = BitConverter.ToInt32(Value, 0); // convert first 4 bytes to int int … Read more