mirror of
https://github.com/cmur2/python-bme680.git
synced 2024-11-14 08:56:20 +01:00
No need to set power mode
This commit is contained in:
parent
e930b211c9
commit
3751865cb6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user