Mcp23xxx.Write Method
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.
Write(ReadOnlySpan<PinValuePair>) |
Writes values to a set of pins |
Write(Int32, PinValue) |
Writes a value to a pin. |
Writes values to a set of pins
C#
protected void Write (ReadOnlySpan<System.Device.Gpio.PinValuePair> pinValuePairs);
override this.Write : ReadOnlySpan<System.Device.Gpio.PinValuePair> -> unit
Protected Sub Write (pinValuePairs As ReadOnlySpan(Of PinValuePair))
Parameters
- pinValuePairs
- ReadOnlySpan<PinValuePair>
Applies to
.NET IoT Libraries 2.2.0 и друге верзије
Производ | Верзије |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |
Writes a value to a pin.
C#
protected override void Write (int pinNumber, System.Device.Gpio.PinValue value);
override this.Write : int * System.Device.Gpio.PinValue -> unit
Protected Overrides Sub Write (pinNumber As Integer, value As PinValue)
Parameters
- pinNumber
- Int32
The pin number.
- value
- PinValue
The value to be written.
Applies to
.NET IoT Libraries 2.2.0 и друге верзије
Производ | Верзије |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |