VirtualGpioController
VirtualGpioController()
VirtualGpioController(IEnumerable<GpioPin>)
VirtualGpioController(Dictionary<Int32, GpioPin>)
PinCount
Add(GpioPin)
Add(Int32, GpioPin)
ClosePinCore(Int32)
Dispose(Boolean)
GetOpenPin(Int32)
GetPinMode(Int32)
IsPinModeSupported(Int32, PinMode)
IsPinOpen(Int32)
OpenPinCore(Int32)
QueryComponentInformation()
Read(Int32)
RegisterCallbackForPinValueChangedEvent(Int32, PinEventTypes, PinChangeEventHandler)
SetPinMode(Int32, PinMode)
Toggle(Int32)
UnregisterCallbackForPinValueChangedEvent(Int32, PinChangeEventHandler)
WaitForEvent(Int32, PinEventTypes, CancellationToken)
WaitForEventAsync(Int32, PinEventTypes, CancellationToken)
Write(Int32, PinValue)
net10.0
namespace Iot.Device.Gpio
{
public class VirtualGpioController : GpioController
{
public override void RegisterCallbackForPinValueChangedEvent(int pinNumber, PinEventTypes eventTypes, PinChangeEventHandler! callback);
}
}
| .NET | 8.09.010.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Iot.Device.Bindings , Version=4.0.1.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Iot.Device.Bindings (4.0.1) net8.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API