GpioDriver
GpioDriver()
PinCount
AddCallbackForPinValueChangedEvent(Int32, PinEventTypes, PinChangeEventHandler)
ClosePin(Int32)
ConvertPinNumberToLogicalNumberingScheme(Int32)
Dispose()
Dispose(Boolean)
Finalize()
GetPinMode(Int32)
IsPinModeSupported(Int32, PinMode)
OpenPin(Int32)
QueryComponentInformation()
Read(Int32)
RemoveCallbackForPinValueChangedEvent(Int32, PinChangeEventHandler)
SetPinMode(Int32, PinMode)
SetPinMode(Int32, PinMode, PinValue)
Toggle(Int32)
WaitForEvent(Int32, PinEventTypes, CancellationToken)
WaitForEventAsync(Int32, PinEventTypes, CancellationToken)
Write(Int32, PinValue)
net10.0-windows7.0
namespace System.Device.Gpio
{
public abstract class GpioDriver : IDisposable
{
protected internal virtual void SetPinMode(int pinNumber, PinMode mode, PinValue initialValue);
}
}
| .NET | 5.06.07.08.09.010.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
| Assembly | System.Device.Gpio , Version=3.2.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | System.Device.Gpio (3.2.0) net6.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API