[][src]Trait embedded_hal::digital::InputPin

pub trait InputPin {
    fn is_high(&self) -> bool;
fn is_low(&self) -> bool; }
[]

Single digital input pin

This trait is available if embedded-hal is built with the "unproven" feature.

Required methods

fn is_high(&self) -> bool[]

Is the input pin high?

fn is_low(&self) -> bool[]

Is the input pin low?

Implementors