[][src]Function wiringpi::setup_gpio

pub fn setup_gpio() -> WiringPi<Gpio>

This is identical to setup(), however it allows the calling programs to use the Broadcom GPIO pin numbers directly with no re-mapping.

This function needs to be called with root privileges.