Mcp960x 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 a new instance of the MCP960X.
public Mcp960x (System.Device.I2c.I2cDevice i2cDevice, Iot.Device.Mcp960x.ADCMeasurementResolutionType adcMeasurementResolutionType = Iot.Device.Mcp960x.ADCMeasurementResolutionType.R18, Iot.Device.Mcp960x.BurstModeTemperatureSamplesType burstModeTemperatureSamplesType = Iot.Device.Mcp960x.BurstModeTemperatureSamplesType.S1, Iot.Device.Mcp960x.ColdJunctionResolutionType coldJunctionResolutionType = Iot.Device.Mcp960x.ColdJunctionResolutionType.N_0_0625, Iot.Device.Mcp960x.DigitalFilterCoefficientsType digitalFilterCoefficientsType = Iot.Device.Mcp960x.DigitalFilterCoefficientsType.N4, Iot.Device.Mcp960x.ShutdownModesType shutdownModesType = Iot.Device.Mcp960x.ShutdownModesType.Normal, Iot.Device.Mcp960x.ThermocoupleType thermocoupleType = Iot.Device.Mcp960x.ThermocoupleType.K);
new Iot.Device.Mcp960x.Mcp960x : System.Device.I2c.I2cDevice * Iot.Device.Mcp960x.ADCMeasurementResolutionType * Iot.Device.Mcp960x.BurstModeTemperatureSamplesType * Iot.Device.Mcp960x.ColdJunctionResolutionType * Iot.Device.Mcp960x.DigitalFilterCoefficientsType * Iot.Device.Mcp960x.ShutdownModesType * Iot.Device.Mcp960x.ThermocoupleType -> Iot.Device.Mcp960x.Mcp960x
Public Sub New (i2cDevice As I2cDevice, Optional adcMeasurementResolutionType As ADCMeasurementResolutionType = Iot.Device.Mcp960x.ADCMeasurementResolutionType.R18, Optional burstModeTemperatureSamplesType As BurstModeTemperatureSamplesType = Iot.Device.Mcp960x.BurstModeTemperatureSamplesType.S1, Optional coldJunctionResolutionType As ColdJunctionResolutionType = Iot.Device.Mcp960x.ColdJunctionResolutionType.N_0_0625, Optional digitalFilterCoefficientsType As DigitalFilterCoefficientsType = Iot.Device.Mcp960x.DigitalFilterCoefficientsType.N4, Optional shutdownModesType As ShutdownModesType = Iot.Device.Mcp960x.ShutdownModesType.Normal, Optional thermocoupleType As ThermocoupleType = Iot.Device.Mcp960x.ThermocoupleType.K)
Parameters
- i2cDevice
- I2cDevice
The I2C device used for communication.
- adcMeasurementResolutionType
- ADCMeasurementResolutionType
ADC Measurement Resolution. It defaults to 18bit.
- burstModeTemperatureSamplesType
- BurstModeTemperatureSamplesType
Number of Burst Mode Temperature Samples. It defaults to 1 sample.
- coldJunctionResolutionType
- ColdJunctionResolutionType
Cold junction resolution. It defaults to 0.0625°C.
- digitalFilterCoefficientsType
- DigitalFilterCoefficientsType
Digital filter. It defaults to MID filter.
- shutdownModesType
- ShutdownModesType
Shutdown Mode. It defaults to Normal operation.
- thermocoupleType
- ThermocoupleType
Thermocouple type. It defaults to K.
Remarks
alerts are disabled