[−][src]Function mynewt::hw::hal::hal_gpio_write
pub unsafe extern "C" fn hal_gpio_write(pin: c_int, val: c_int)
Write a value (either high or low) to the specified pin.
pin
: Pin to setval
: Value to set pin (0:low 1:high)