Crates.io | saleae-importer |
lib.rs | saleae-importer |
version | 1.0.1 |
source | src |
created_at | 2023-01-28 05:21:40.641858 |
updated_at | 2023-01-28 05:45:44.435363 |
description | A library for reading and writing Saleae Logic 2 binary capture data |
homepage | |
repository | https://github.com/jam1garner/saleae-importer |
max_upload_size | |
id | 770190 |
size | 8,236 |
A library for reading and writing Saleae Logic 2 binary capture data
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}");
}