Edit

Share via


Mcp3Base.ReadInternal(Int32, Int32, Int32) Method

Definition

Reads a value from the device

protected int ReadInternal (int adcRequest, int adcResolutionBits, int delayBits);
member this.ReadInternal : int * int * int -> int
Protected Function ReadInternal (adcRequest As Integer, adcResolutionBits As Integer, delayBits As Integer) As Integer

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