pub trait StatefulOutputPin: OutputPin {
    fn is_set_high(&self) -> Result<bool, Self::Error>;
    fn is_set_low(&self) -> Result<bool, Self::Error>;
    fn toggle(&mut self) -> Result<(), Self::Error>;
}
