Skip to content

Commit 431c39d

Browse files
committed
examples: Fix weather station mistake.
- Sleeping time put to 5s - Shorter CSV file name
1 parent 779aeaf commit 431c39d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/wsen-pads/examples/weather_station.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
sensor.set_continuous(odr=ODR_10_HZ)
1616

1717
# Set filename and erase
18-
flash.set_filename("weather_station", "CSV")
18+
flash.set_filename("WSTATION", "CSV")
1919
flash.clear_flash()
2020
sleep_ms(500)
2121
print("Flash erased.")
@@ -29,4 +29,4 @@
2929
print("P:", pressure, "hPa T:", temperature, "°C")
3030
flash.write_line(f"{temperature};{pressure}")
3131

32-
sleep(0.1)
32+
sleep(5)

0 commit comments

Comments
 (0)