Skip to content

Commit 1fc7812

Browse files
committed
examples: Fix format for weather station in wsen-pads.
1 parent 431c39d commit 1fc7812

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/wsen-pads/examples/weather_station.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
temperature = sensor.temperature()
2828

2929
print("P:", pressure, "hPa T:", temperature, "°C")
30-
flash.write_line(f"{temperature};{pressure}")
30+
flash.write_line(f"{temperature:.1f};{pressure:.1f}")
3131

3232
sleep(5)

0 commit comments

Comments
 (0)