format text
This commit is contained in:
@ -125,7 +125,7 @@ def update_display():
|
|||||||
d = float('inf')
|
d = float('inf')
|
||||||
b = float('NaN')
|
b = float('NaN')
|
||||||
print(name, ":", d, b)
|
print(name, ":", d, b)
|
||||||
display.text(f"{name}: {d} {b}", 0, 10*(i+1), 1)
|
display.text(f"{name}: {d:.0}m {b:.0f}°", 0, 10*(i+1), 1)
|
||||||
display.show()
|
display.show()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user