Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jam1garner/saleae-importer
A library for reading and writing Saleae Logic 2 binary capture data
https://github.com/jam1garner/saleae-importer
Last synced: 4 days ago
JSON representation
A library for reading and writing Saleae Logic 2 binary capture data
- Host: GitHub
- URL: https://github.com/jam1garner/saleae-importer
- Owner: jam1garner
- License: mit
- Created: 2023-01-28T05:18:18.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-28T05:45:46.000Z (almost 2 years ago)
- Last Synced: 2024-12-24T05:09:05.697Z (14 days ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# saleae-importer
A library for reading and writing Saleae Logic 2 binary capture data
### Example
```rust
use saleae_importer::SaleaeExport;let data = SaleaeExport::open("digital_0.bin").unwrap();
for (is_high, time_len) in data.assume_digital().iter_samples() {
println!("bit state: {is_high} | time: {time_len}");
}
```