Tlc1543(SpiDevice, Int32, GpioController, Boolean) Constructor

Definition

Constructor for Tlc1543

public Tlc1543 (System.Device.Spi.SpiDevice spiDevice, int endOfConversion = -1, System.Device.Gpio.GpioController? controller = default, bool shouldDispose = true);
new Iot.Device.Tlc1543.Tlc1543 : System.Device.Spi.SpiDevice * int * System.Device.Gpio.GpioController * bool -> Iot.Device.Tlc1543.Tlc1543
Public Sub New (spiDevice As SpiDevice, Optional endOfConversion As Integer = -1, Optional controller As GpioController = Nothing, Optional shouldDispose As Boolean = true)

Parameters

spiDevice
SpiDevice

Device used for SPI communication.

endOfConversion
Int32

End of Conversion pin, if GpioController is not provided logical numbering scheme is used (default for GpioController).

controller
GpioController

The GPIO controller for defined external pins. If not specified, the default controller will be used.

shouldDispose
Boolean

True to dispose the GPIO controller and SPI device.

Applies to