I2cBusManager(Board, Int32, Int32[], I2cBus) Constructor
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 an instance of an I2C bus, given the pins used for that bus
public I2cBusManager(Iot.Device.Board.Board board, int bus, int[]? pins, System.Device.I2c.I2cBus busInstance);
new Iot.Device.Board.I2cBusManager : Iot.Device.Board.Board * int * int[] * System.Device.I2c.I2cBus -> Iot.Device.Board.I2cBusManager
Public Sub New (board As Board, bus As Integer, pins As Integer(), busInstance As I2cBus)
Parameters
- board
- Board
The board that provides this bus
- bus
- Int32
The bus number
- pins
- Int32[]
The pins, in the logical scheme of the board. This must be an array of exactly two pins (for SCL and SDA)
- busInstance
- I2cBus
The wrapped bus instance