Edit

Share via


Board.ReleasePin(Int32, PinUsage, Object) Method

Definition

Removes the reservation for a pin. See ReservePin(Int32, PinUsage, Object) for details.

public virtual void ReleasePin (int pinNumber, Iot.Device.Board.PinUsage usage, object owner);
abstract member ReleasePin : int * Iot.Device.Board.PinUsage * obj -> unit
override this.ReleasePin : int * Iot.Device.Board.PinUsage * obj -> unit
Public Overridable Sub ReleasePin (pinNumber As Integer, usage As PinUsage, owner As Object)

Parameters

pinNumber
Int32

The pin number to free, in the numbering scheme of the board

usage
PinUsage

The current pin usage

owner
Object

The current pin owner

Exceptions

The pin is not reserved, or the owner is not correct

Applies to