GpioController
GpioController()
GpioController(PinNumberingScheme)
GpioController(PinNumberingScheme, GpioDriver)
NumberingScheme
PinCount
ClosePin(Int32)
ClosePinCore(Int32)
Dispose()
Dispose(Boolean)
GetLogicalPinNumber(Int32)
GetPinMode(Int32)
IsPinModeSupported(Int32, PinMode)
IsPinOpen(Int32)
OpenPin(Int32)
OpenPin(Int32, PinMode)
OpenPin(Int32, PinMode, PinValue)
OpenPinCore(Int32)
QueryComponentInformation()
Read(Int32)
Read(Span<PinValuePair>)
RegisterCallbackForPinValueChangedEvent(Int32, PinEventTypes, PinChangeEventHandler)
SetPinMode(Int32, PinMode)
Toggle(Int32)
UnregisterCallbackForPinValueChangedEvent(Int32, PinChangeEventHandler)
WaitForEvent(Int32, PinEventTypes, CancellationToken)
WaitForEvent(Int32, PinEventTypes, TimeSpan)
WaitForEventAsync(Int32, PinEventTypes, CancellationToken)
WaitForEventAsync(Int32, PinEventTypes, TimeSpan)
Write(Int32, PinValue)
Write(ReadOnlySpan<PinValuePair>)
net10.0-windows7.0
namespace System.Device.Gpio
{
public class GpioController : IDisposable
{
protected virtual void Dispose(bool disposing);
}
}
.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