Add altimeter example data.

main
Luigi F. Cruz 2023-07-10 21:03:55 -03:00
rodzic aae5430773
commit 54a61fd10f
6 zmienionych plików z 5 dodań i 1 usunięć

1
.gitignore vendored
Wyświetl plik

@ -34,7 +34,6 @@
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/

Wyświetl plik

@ -1,6 +1,8 @@
# Filesystem
This is a simple altimeter based on LittleFS and BMP390. This is using the built-in Raspberry Pi Pico as non-volatile memory.
![](./example_data/altitude.png)
### Dependencies
- [littlefs](/lib/littlefs) Library.
- [bmp390](/lib/bmp390) Library.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 196 KiB

Wyświetl plik

@ -4,6 +4,7 @@ from matplotlib.ticker import FormatStrFormatter
# Convert HEX file to BIN.
# cat D4.hex | xxd -r -p > D4.bin
# Checkout example_data for data examples.
data = np.fromfile('./D5.bin', dtype=np.float32)
temp_x = data[0::2]