Mcp3xxx.Read(Int32) Method
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.
Reads a value from the device
public virtual int Read (int channel);
abstract member Read : int -> int
override this.Read : int -> int
Public Overridable Function Read (channel As Integer) As Integer
Parameters
- channel
- Int32
Channel which value should be read from (valid values: 0 to channelcount - 1)
Returns
A value corresponding to relative voltage level on specified device channel
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for