Skip to content

Commit a39983e

Browse files
author
JPOSADA202020
committed
fixinf_line
1 parent c229d64 commit a39983e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/bmp280_displayio_simpletest.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242
# begin main loop
4343
while True:
4444
# Update the label.text property to change the text on the display
45-
tempandpress_output_label.text = f"Temperature:{bmp280.temperature:0.1f} C, Pressure:{bmp280.pressure:0.1f} hPa"
45+
tempandpress_output_label.text = (
46+
f"Temperature:{bmp280.temperature:0.1f} C, Pressure:{bmp280.pressure:0.1f} hPa"
47+
)
4648
altitude_output_label.text = f"Altitude:{bmp280.altitude:0.2f} mts"
4749
# wait for a bit
4850
time.sleep(2.0)

0 commit comments

Comments
 (0)