I2C/BMP180 I2C/BMP180SensorData.cs
/// <summary>
/// Returns a string representation of this object
/// </summary>
/// <returns>a string</returns>
Returns a string representation of this object
Returns a string representation of this object
public override string ToString()
        {
            StringBuilder sb = new StringBuilder();
            sb.AppendFormat("Temperature {0:N2}\u00b0 C\r\n", this.Temperature);
            sb.AppendFormat("Temperature {0:N2}\u00b0 F\r\n", this.TemperatureInFahrenheit);
            sb.AppendFormat("Pressure {0:N2} Pa\r\n", this.Pressure);           
            sb.AppendFormat("Altitude {0:N2} m\r\n", this.Altitude);
            sb.AppendFormat("Altitude {0:N1} \'\r\n", this.AltitudeInFeet);
            sb.AppendFormat("AccuracyMode {0}\r\n", this.AccuracyMode);
            sb.AppendFormat("Uncompensated Temperature [{0}]\r\n", BitConverter.ToString(this.UncompensatedTemperature));
            sb.AppendFormat("Uncompensated Pressure [{0}]\r\n", BitConverter.ToString(this.UncompensatedPressure));
            return sb.ToString();
        }
public override string ToString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . AppendFormat ( " \u00b0 \r \n " , this . Temperature ) ; sb . AppendFormat ( " \u00b0 \r \n " , this . TemperatureInFahrenheit ) ; sb . AppendFormat ( " \r \n " , this . Pressure ) ; sb . AppendFormat ( " \r \n " , this . Altitude ) ; sb . AppendFormat ( " \' \r \n " , this . AltitudeInFeet ) ; sb . AppendFormat ( " \r \n " , this . AccuracyMode ) ; sb . AppendFormat ( " \r \n " , BitConverter . ToString ( this . UncompensatedTemperature ) ) ; sb . AppendFormat ( " \r \n " , BitConverter . ToString ( this . UncompensatedPressure ) ) ; return sb . ToString ( ) ; }
Returns a string representation of this object
Returns a string representation of this object
None