Mcp3xxx.ReadInternal(Int32, Mcp3Base+InputType, Int32) Method
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.
Reads a value from the device
C#
protected int ReadInternal (int channel, Iot.Device.Adc.Mcp3Base.InputType inputType, int adcResolutionBits);
override this.ReadInternal : int * Iot.Device.Adc.Mcp3Base.InputType * int -> int
Protected Function ReadInternal (channel As Integer, inputType As Mcp3Base.InputType, adcResolutionBits As Integer) As Integer
- channel
- Int32
Channel which value should be read from. For diffential inputs this represents a channel pair (valid values: 0 - channelcount - 1 or 0 - channelcount / 2 - 1 with differential inputs)
- inputType
- Mcp3Base.InputType
The type of input channel to read.
- adcResolutionBits
- Int32
The number of bits in the returned value
A value corresponding to relative voltage level on specified device channel
Product | Versions |
---|---|
.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 |