Glovebox.IoT.Devices.Sensors.BMP180.GetTemperature C# (CSharp) 메소드

GetTemperature() 개인적인 메소드

private GetTemperature ( ) : double
리턴 double
        double GetTemperature()
        {
            lock (temperatureLock)
            {
                Initialise();

                int UT, B5;     // following ds convention
                float t;

                UT = readRawTemperature().Result;

                B5 = computeB5(UT);
                t = (B5 + 8) >> 4;
                t /= 10;

                return t;
            }
        }