Board.ReleasePin(Int32, PinUsage, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for