Edit

Share via


Ft232HDevice.CreateSimpleSpiDevice(SpiConnectionSettings, Int32[]) Method

Definition

Creates SPI device related to this device

protected override System.Device.Spi.SpiDevice CreateSimpleSpiDevice (System.Device.Spi.SpiConnectionSettings settings, int[] pins);
override this.CreateSimpleSpiDevice : System.Device.Spi.SpiConnectionSettings * int[] -> System.Device.Spi.SpiDevice
Protected Overrides Function CreateSimpleSpiDevice (settings As SpiConnectionSettings, pins As Integer()) As SpiDevice

Parameters

settings
SpiConnectionSettings

The SPI settings

pins
Int32[]

The pins to use

Returns

a SPI device

Remarks

You can create either an I2C, either an SPI device. You can create multiple SPI devices, the first one will be the one used for the clock frequency. They all have to have different Chip Select. You can use any of the 3 to 15 pin for this function.

Applies to