Skip to content

Commit a95a79c

Browse files
committed
Run pre-commit a few more times
1 parent 06238e2 commit a95a79c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/funhouse_temperature_logger.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@
1616

1717
DELAY = 180
1818
FEED = "temperature"
19-
TEMPERATURE_OFFSET = 3 # Degrees C to adjust the temperature to compensate for board produced heat
19+
TEMPERATURE_OFFSET = (
20+
3 # Degrees C to adjust the temperature to compensate for board produced heat
21+
)
2022

2123
# Turn things off
2224
funhouse.peripherals.dotstars.fill(0)
2325
funhouse.display.brightness = 0
2426
funhouse.network.enabled = False
2527

28+
2629
def log_data():
2730
print("Logging Temperature")
2831
print("Temperature %0.1F" % (funhouse.peripherals.temperature - TEMPERATURE_OFFSET))
@@ -35,6 +38,7 @@ def log_data():
3538
# Turn off WiFi
3639
funhouse.network.enabled = False
3740

41+
3842
while True:
3943
log_data()
4044
print("Sleeping for {} seconds...".format(DELAY))

0 commit comments

Comments
 (0)