Edit

Share via


GpioController.IsPinOpen(Int32) Method

Definition

Checks if a specific pin is open.

public bool IsPinOpen (int pinNumber);
member this.IsPinOpen : int -> bool
Public Function IsPinOpen (pinNumber As Integer) As Boolean

Parameters

pinNumber
Int32

The pin number in the controller's numbering scheme.

Returns

The status if the pin is open or closed.

Applies to