From e8689dcc806d5271f6baf06ec5122f35af5f3528 Mon Sep 17 00:00:00 2001 From: jerryneedell Date: Sun, 18 Oct 2020 15:37:14 -0400 Subject: [PATCH] fix simpletest --- examples/bme680_simpletest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)