diff --git a/examples/temp-offset.py b/examples/temp-offset.py index 15bb220..1dd74c2 100644 --- a/examples/temp-offset.py +++ b/examples/temp-offset.py @@ -26,8 +26,8 @@ sensor.get_sensor_data() output = "{0:.2f} C,{1:.2f} hPa,{2:.3f} %RH".format(sensor.data.temperature, sensor.data.pressure, sensor.data.humidity) print(output) -print("SET offset -10 degrees celsius") -sensor.set_temp_offset(-10) +print("SET offset -1.87 degrees celsius") +sensor.set_temp_offset(-1.87) sensor.get_sensor_data() output = "{0:.2f} C,{1:.2f} hPa,{2:.3f} %RH".format(sensor.data.temperature, sensor.data.pressure, sensor.data.humidity) print(output)