Прочитај на енглеском Уреди

Делите путем


Mcp23x1x Constructors

Definition

Overloads

Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController)

C#
protected Mcp23x1x (Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter device, int reset, int interruptA, int interruptB, System.Device.Gpio.GpioController masterController);

Parameters

reset
Int32
interruptA
Int32
interruptB
Int32
masterController
GpioController

Applies to

.NET IoT Libraries 1.0.0
Производ Верзије
.NET IoT Libraries 1.0.0

Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController, Boolean)

Constructs Mcp23x1x instance

C#
protected Mcp23x1x (Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter device, int reset, int interruptA, int interruptB, System.Device.Gpio.GpioController? controller, bool shouldDispose = true);

Parameters

device
Mcp23xxx.BusAdapter

I2C device used to communicate with the device

reset
Int32

Reset pin

interruptA
Int32

Interrupt A pin

interruptB
Int32

Interrupt B pin

controller
GpioController

GpioController related with resetinterruptA and interruptB pins

shouldDispose
Boolean

True to dispose the Gpio Controller

Applies to

.NET IoT Libraries 2.2.0 и друге верзије
Производ Верзије
.NET IoT Libraries 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0