Mcp3427 Constructors
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.
Mcp3427(I2cDevice) |
Constructs Mcp3427 instance |
Mcp3427(I2cDevice, AdcMode, AdcResolution, AdcGain) |
Constructs Mcp3427 instance |
Constructs Mcp3427 instance
C#
public Mcp3427 (System.Device.I2c.I2cDevice i2CDevice);
new Iot.Device.Mcp3428.Mcp3427 : System.Device.I2c.I2cDevice -> Iot.Device.Mcp3428.Mcp3427
Public Sub New (i2CDevice As I2cDevice)
Parameters
- i2CDevice
- I2cDevice
I2C device used to communicate with the device
Applies to
.NET IoT Libraries 2.2.0 และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |
Constructs Mcp3427 instance
C#
public Mcp3427 (System.Device.I2c.I2cDevice i2CDevice, Iot.Device.Mcp3428.AdcMode mode = Iot.Device.Mcp3428.AdcMode.Continuous, Iot.Device.Mcp3428.AdcResolution resolution = Iot.Device.Mcp3428.AdcResolution.Bit12, Iot.Device.Mcp3428.AdcGain pgaGain = Iot.Device.Mcp3428.AdcGain.X1);
new Iot.Device.Mcp3428.Mcp3427 : System.Device.I2c.I2cDevice * Iot.Device.Mcp3428.AdcMode * Iot.Device.Mcp3428.AdcResolution * Iot.Device.Mcp3428.AdcGain -> Iot.Device.Mcp3428.Mcp3427
Public Sub New (i2CDevice As I2cDevice, Optional mode As AdcMode = Iot.Device.Mcp3428.AdcMode.Continuous, Optional resolution As AdcResolution = Iot.Device.Mcp3428.AdcResolution.Bit12, Optional pgaGain As AdcGain = Iot.Device.Mcp3428.AdcGain.X1)
Parameters
- i2CDevice
- I2cDevice
I2C device used to communicate with the device
- mode
- AdcMode
ADC operation mode
- resolution
- AdcResolution
ADC resolution
- pgaGain
- AdcGain
PGA gain
Applies to
.NET IoT Libraries 2.2.0 และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |