GpioDriver.Read(Int32) 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.
Reads the current value of a pin.
protected internal abstract System.Device.Gpio.PinValue Read (int pinNumber);
abstract member Read : int -> System.Device.Gpio.PinValue
Protected Friend MustOverride Function Read (pinNumber As Integer) As PinValue
Parameters
- pinNumber
- Int32
The pin number in the driver's logical numbering scheme.
Returns
The value of the pin.