RaspberryPi3Driver.SetAlternatePinMode 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.
Set the specified alternate mode for the given pin. Check the manual to know what each pin can do.
public void SetAlternatePinMode(int pinNumber, System.Device.Gpio.Drivers.RaspberryPi3Driver.AltMode altPinMode);
member this.SetAlternatePinMode : int * System.Device.Gpio.Drivers.RaspberryPi3Driver.AltMode -> unit
Public Sub SetAlternatePinMode (pinNumber As Integer, altPinMode As RaspberryPi3Driver.AltMode)
Parameters
- pinNumber
- Int32
Pin number in the logcal scheme of the driver
- altPinMode
- RaspberryPi3Driver.AltMode
Alternate mode to set
Exceptions
This mode is not supported by this driver (or by the given pin)
Remarks
The method is intended for usage by higher-level abstraction interfaces. User code should be very careful when using this method.