Mcp3Base.ReadInternal(Int32, Int32, Int32) Method

Definition

Reads a value from the device

C#
protected int ReadInternal (int adcRequest, int adcResolutionBits, int delayBits);

Parameters

adcRequest
Int32

A bit pattern to be sent to the ADC.

adcResolutionBits
Int32

The number of bits in the returned value

delayBits
Int32

The number of bits to be delayed between the request and the response being read.

Returns

A value corresponding to a voltage level on the input pin described by the request.

Applies to

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