Board.CreateOrGetI2cBus メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
CreateOrGetI2cBus(Int32) |
I2C バス インスタンスを作成するか、このバスの既存のインスタンスを返します |
CreateOrGetI2cBus(Int32, Int32[]) |
I2C バス インスタンスを作成するか、このバスの既存のインスタンスを返します |
CreateOrGetI2cBus(Int32)
I2C バス インスタンスを作成するか、このバスの既存のインスタンスを返します
public System.Device.I2c.I2cBus CreateOrGetI2cBus (int busNumber);
member this.CreateOrGetI2cBus : int -> System.Device.I2c.I2cBus
Public Function CreateOrGetI2cBus (busNumber As Integer) As I2cBus
パラメーター
- busNumber
- Int32
作成する I2C バス番号
戻り値
I2C バス インスタンス
適用対象
CreateOrGetI2cBus(Int32, Int32[])
I2C バス インスタンスを作成するか、このバスの既存のインスタンスを返します
public virtual System.Device.I2c.I2cBus CreateOrGetI2cBus (int busNumber, int[]? pinAssignment);
abstract member CreateOrGetI2cBus : int * int[] -> System.Device.I2c.I2cBus
override this.CreateOrGetI2cBus : int * int[] -> System.Device.I2c.I2cBus
Public Overridable Function CreateOrGetI2cBus (busNumber As Integer, pinAssignment As Integer()) As I2cBus
パラメーター
- busNumber
- Int32
作成する I2C バス番号
- pinAssignment
- Int32[]
I2C に使用するピンのセット。 バスが既に存在する場合は null を指定できます
戻り値
I2C バス インスタンス