public I2CStream(I2CChannel channel, int address) { // create provider with this channel _provider = I2CStreamProvider.CreateProvider(channel, address); }
public static I2CStreamProvider CreateProvider(I2CChannel channel, int address) { return new I2CStreamProvider((int)channel, address); }