kopia lustrzana https://github.com/luigifcruz/pico-stuff
Add altimeter example data.
rodzic
aae5430773
commit
54a61fd10f
|
@ -34,7 +34,6 @@
|
|||
*.app
|
||||
*.i*86
|
||||
*.x86_64
|
||||
*.hex
|
||||
|
||||
# Debug files
|
||||
*.dSYM/
|
||||
|
|
|
@ -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 |
|
@ -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]
|
||||
|
|
Ładowanie…
Reference in New Issue