SeesawGpioDriver.Read 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.
Overloads
Read(Int32) |
Reads the current value of a pin. |
Read(Span<PinValuePair>) |
Read the given pins with the given pin numbers. |
Read(Int32)
Reads the current value of a pin.
protected override System.Device.Gpio.PinValue Read (int pinNumber);
override this.Read : int -> System.Device.Gpio.PinValue
Protected Overrides Function Read (pinNumber As Integer) As PinValue
Parameters
- pinNumber
- Int32
The pin number in the controller's numbering scheme.
Returns
The value of the pin.
Applies to
Read(Span<PinValuePair>)
Read the given pins with the given pin numbers.
public void Read (Span<System.Device.Gpio.PinValuePair> pinValuePairs);
override this.Read : Span<System.Device.Gpio.PinValuePair> -> unit
Public Sub Read (pinValuePairs As Span(Of PinValuePair))
Parameters
- pinValuePairs
- Span<PinValuePair>
The pin/value pairs to read.
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