次の方法で共有


CustomBoard コンストラクター

定義

新しいカスタム ボードを作成します。

public CustomBoard (System.Device.Gpio.GpioDriver gpioDriver, Func<int,System.Device.I2c.I2cBus> i2cBusCreator, Func<System.Device.Spi.SpiConnectionSettings,System.Device.Spi.SpiDevice> spiDeviceCreator, Func<int,System.Device.Pwm.PwmChannel> pwmChannelCreator);
new Iot.Device.Board.CustomBoard : System.Device.Gpio.GpioDriver * Func<int, System.Device.I2c.I2cBus> * Func<System.Device.Spi.SpiConnectionSettings, System.Device.Spi.SpiDevice> * Func<int, System.Device.Pwm.PwmChannel> -> Iot.Device.Board.CustomBoard
Public Sub New (gpioDriver As GpioDriver, i2cBusCreator As Func(Of Integer, I2cBus), spiDeviceCreator As Func(Of SpiConnectionSettings, SpiDevice), pwmChannelCreator As Func(Of Integer, PwmChannel))

パラメーター

gpioDriver
GpioDriver

使用する GPIO ドライバー

i2cBusCreator
Func<Int32,I2cBus>

I2C バス インスタンスを作成する関数

spiDeviceCreator
Func<SpiConnectionSettings,SpiDevice>

SPI デバイスを作成する関数

pwmChannelCreator
Func<Int32,PwmChannel>

PWM チャネルを作成する関数

適用対象