Edit

Share via


SpiConnectionSettings(Int32, Int32) Constructor

Definition

Initializes a new instance of the SpiConnectionSettings class.

public SpiConnectionSettings (int busId, int chipSelectLine);
public SpiConnectionSettings (int busId, int chipSelectLine = -1);
new System.Device.Spi.SpiConnectionSettings : int * int -> System.Device.Spi.SpiConnectionSettings
Public Sub New (busId As Integer, chipSelectLine As Integer)
Public Sub New (busId As Integer, Optional chipSelectLine As Integer = -1)

Parameters

busId
Int32

The bus ID the device is connected to.

chipSelectLine
Int32

The chip select line used on the bus. Optional, -1 if not used

Applies to