Expand description
Safe Rust bindings to the phidget22 library.
Re-exports§
pub use crate::phidget::AttachCallback;
pub use crate::phidget::DetachCallback;
pub use crate::phidget::GenericPhidget;
pub use crate::phidget::Phidget;
pub use crate::net::ServerType;
pub use crate::devices::digital_input::DigitalInput;
pub use crate::devices::digital_output::DigitalOutput;
pub use crate::devices::hub::Hub;
pub use crate::devices::humidity_sensor::HumiditySensor;
pub use crate::devices::temperature_sensor::TemperatureSensor;
pub use crate::devices::voltage_input::VoltageInput;
pub use crate::devices::voltage_output::VoltageOutput;
pub use phidget_sys as ffi;
pub use crate::errors::*;
Modules§
- Module containing all implemented devices
- The error types for the crate The error return type for the library.
- Network API Phidget network API
- The main Phidget trait
Enums§
- Phidget channel class
- Phidget device class
Constants§
- The default timeout for the library
- An infinite timeout (wait forever)
Functions§
- The the full version of the phidget22 library as a string. This is something like, “Phidget22 - Version 1.14 - Built Mar 31 2023 22:44:59”
- Gets just the version number of the phidget22 library as a string. This is something like, “1.14”