public static void Main() { TMP100Sensor temperatureSensor = new TMP100Sensor(sensorAddress); while (true) { float temperature = temperatureSensor.Temperature(); Debug.Print("Temperature: " + temperature.ToString("F4") + " ° Celsius"); Thread.Sleep(100); } }