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

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

Is the input pin high?

Is the input pin low?

Implementors