Skip to content

Commit ed055e6

Browse files
author
jposada202020
committed
line_fix
1 parent d9f10ce commit ed055e6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/mmc56x3_displayio_simpletest.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@
4141
# update the text of the label(s) to show the sensor readings
4242
mag_x, mag_y, mag_z = sensor.magnetic
4343
display_output_label.text = (
44-
f"Acceleration\n"
45-
+ f"x: {mag_x:.1f} uT\n"
46-
+ f"y: {mag_y:.1f} uT\n"
47-
+ f"z: {mag_z:.1f} uT"
44+
f"x: {mag_x:.1f} uT\ny: {mag_y:.1f} uT\nz: {mag_z:.1f} uT"
4845
)
4946
# wait for a bit
5047
time.sleep(0.5)

0 commit comments

Comments
 (0)