owon-spe

Crates.ioowon-spe
lib.rsowon-spe
version0.1.0
sourcesrc
created_at2023-01-09 21:14:23.669782
updated_at2023-01-09 21:14:23.669782
descriptionOWON SPE programmable power-suppy api crate
homepagehttps://github.com/sjoerdsimons/owon-spe
repositoryhttps://github.com/sjoerdsimons/owon-spe
max_upload_size
id754790
size54,371
Sjoerd Simons (sjoerdsimons)

documentation

README

owon-spe support crate

Helper crate for the SCPI protocol as spoken by the Owon SPE power supplies; Tested on an Owon SPE 3102

use owon_spe::SPE;

fn main() {
  let mut spe = SPE::from_serialport("/dev/ttyUSB0").unwrap();
  let info = spe.idn().unwrap();
  println!("Model: {}, Serial: {}, FW: {}", info.model, info.serial, info.fw);
}
Commit count: 1

cargo fmt