setToOutput(_:value:)
Sets the pin to output digital signal.
@discardableResult func setToOutput(_ mode: DigitalOut.Mode? = nil, value: Bool? = nil) -> Result<(), Errno>
Parameters
Returns
Whether the configuration succeeds. If it fails, it returns the specific error.