Ft232HDevice.CreateSimpleSpiDevice(SpiConnectionSettings, Int32[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.