Edit

Share via


Board.ActivatePinMode(Int32, PinUsage) Method

Definition

Override this method if something special needs to be done to use the pin for the given device. Many devices support multiple functions per Pin, but not at the same time, so that some kind of multiplexer needs to be set accordingly.

protected virtual void ActivatePinMode (int pinNumber, Iot.Device.Board.PinUsage usage);
abstract member ActivatePinMode : int * Iot.Device.Board.PinUsage -> unit
override this.ActivatePinMode : int * Iot.Device.Board.PinUsage -> unit
Protected Overridable Sub ActivatePinMode (pinNumber As Integer, usage As PinUsage)

Parameters

pinNumber
Int32

The logical pin number to use.

usage
PinUsage

The intended usage

Applies to