Skip to content

Commit f126087

Browse files
author
JPOSADA202020
committed
line_fix
1 parent 8043d7f commit f126087

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/msa301_displayio_simpletest.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
while True:
3939
# update the text of the label(s) to show the sensor readings
4040
x, y, z = msa.acceleration
41-
display_output_label.text = (
42-
f"X:{x:.2f} m/s^2\nY:{y:.2f} m/s^2\nZ:{z:.2f} m/s^2"
43-
)
41+
display_output_label.text = f"X:{x:.2f} m/s^2\nY:{y:.2f} m/s^2\nZ:{z:.2f} m/s^2"
4442
# wait for a bit
4543
time.sleep(0.5)

0 commit comments

Comments
 (0)