diff --git a/examples/bme680_simpletest.py b/examples/bme680_simpletest.py index 31ed526..c7df92e 100644 --- a/examples/bme680_simpletest.py +++ b/examples/bme680_simpletest.py @@ -16,7 +16,7 @@ temperature_offset = -5 while True: - print("\nTemperature: %0.1f C" % bme680.temperature + temperature_offset) + print("\nTemperature: %0.1f C" % (bme680.temperature + temperature_offset)) print("Gas: %d ohm" % bme680.gas) print("Humidity: %0.1f %%" % bme680.humidity) print("Pressure: %0.3f hPa" % bme680.pressure)