Trait follow_heating::io::gpio::GPIOManager
source · pub trait GPIOManager: Send {
// Required methods
fn setup(&mut self, pin: usize, mode: &GPIOMode) -> Result<(), GPIOError>;
fn set_pin(
&mut self,
pin_id: usize,
state: &GPIOState
) -> Result<(), GPIOError>;
fn get_pin(&self, pin: usize) -> Result<GPIOState, GPIOError>;
}