| Crates.io | fs3000 |
| lib.rs | fs3000 |
| version | 0.1.0 |
| created_at | 2023-02-22 15:36:07.844254+00 |
| updated_at | 2023-02-22 15:36:07.844254+00 |
| description | Basic embedded-hal-based I2C driver for the FS3000-1005 and FS3000-1015 air velocity sensors |
| homepage | |
| repository | https://github.com/besselfunct/fs3000 |
| max_upload_size | |
| id | 791901 |
| size | 6,642 |
Currently the following features are implemented:
TODO:
get_measurement functionExample use:
use fs3000::*;
// Change ChipType based on the range of the sensor you're using
let mut sensor = FS3000::new(i2c, DeviceAddr::Default, ChipType::Type1005)?;
loop {
let measurement = sensor.get_measurement();
println!("Air Velocity is: {:?} m/s", measurement);
// Add some delay function here.
// The response time of the sensor is 125 ms
}