Board.ActivatePinMode(Int32, PinUsage) 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.
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