1 stable release
1.0.1 | Jan 28, 2023 |
---|
#17 in #importer
8KB
141 lines
saleae-importer
A library for reading and writing Saleae Logic 2 binary capture data
Example
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}");
}
lib.rs
:
A library for reading and writing Saleae Logic 2 binary capture data
Example
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}");
}
Dependencies
~2MB
~45K SLoC