Skip to main content

configure

Function configure 

Source
pub fn configure(pin: GpioPin, mode: GpioMode) -> Result<()>
Expand description

Configure a GPIO pin’s direction and pull mode.

§Errors

Returns Error::InvalidParam if the pin is out of range.