pub fn set(pin: GpioPin, value: i32) -> Result<()>
Set a GPIO pin’s output level (value: 0 = low, non-zero = high).
value
Returns Error::InvalidParam if the pin is out of range.
Error::InvalidParam