Edit

Share via


PinValue.Implicit Operator

Definition

Overloads

Implicit(Boolean to PinValue)

Implicit conversion from bool. false means Low, true means High

Implicit(Int32 to PinValue)

Implicit conversion from int. 0 means Low, everything else means High.

Implicit(Boolean to PinValue)

Implicit conversion from bool. false means Low, true means High

public static implicit operator System.Device.Gpio.PinValue (bool value);
static member op_Implicit : bool -> System.Device.Gpio.PinValue
Public Shared Widening Operator CType (value As Boolean) As PinValue

Parameters

value
Boolean

Value to set

Returns

Applies to

Implicit(Int32 to PinValue)

Implicit conversion from int. 0 means Low, everything else means High.

public static implicit operator System.Device.Gpio.PinValue (int value);
static member op_Implicit : int -> System.Device.Gpio.PinValue
Public Shared Widening Operator CType (value As Integer) As PinValue

Parameters

value
Int32

Value to set

Returns

Applies to