Function rust_pigpio::set_mode [] [src]

pub fn set_mode(gpio: u32, mode: GpioMode) -> GpioResult

Sets the GPIO mode, typically input or output.