Crate sfc6xxx_rs

Crate sfc6xxx_rs 

Source
Expand description

§SFC6XXX-rs

This libraray is meant to provide an platform independant rust driver for Sensirion’s SFC6xxx mass flow controllers. The code was based arround the official python SHDLC library and should match match its interface, while using Rust’s powerful Result type.

§Testing

Several tests have been written to tests this library’s functionality and a majority of them are in device.rs. Most test reads and checks values but several functions like get_serial_number and get_article_code cannot be accuratley tested. In these cases the code checks to see if the response errored and nothing else.

Re-exports§

pub use serialport;
pub use sfc_core;

Modules§

device
The SFC6xxx device and associated functions