Skip to main content

get

Function get 

Source
pub fn get(pin: GpioPin) -> Result<i32>
Expand description

Read a GPIO pin input value. Returns the pin level (0 or 1) on success.