From 3751865cb6a407900a4d5b2c25cf9f1eb55c8e86 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Tue, 17 Oct 2017 14:37:32 +0100 Subject: [PATCH] No need to set power mode --- python/examples/livetest.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python/examples/livetest.py b/python/examples/livetest.py index b0086b9..e861e7d 100644 --- a/python/examples/livetest.py +++ b/python/examples/livetest.py @@ -32,8 +32,6 @@ sensor.select_gas_heater_profile(0) # sensor.set_gas_heater_profile(200, 150, nb_profile=1) # sensor.select_gas_heater_profile(1) -sensor.set_power_mode(bme680.FORCED_MODE) - print("\n\nPolling:") try: while True: @@ -46,8 +44,6 @@ try: else: print(output) - sensor.set_power_mode(bme680.FORCED_MODE) - time.sleep(1) except KeyboardInterrupt: