Edit

Share via


Mcp3xxx.CheckChannelRange(Int32, Int32) Method

Definition

Checks that the channel is in range of the available channels channels and throws an exception if not.

protected void CheckChannelRange (int channel, int channelCount);
member this.CheckChannelRange : int * int -> unit
Protected Sub CheckChannelRange (channel As Integer, channelCount As Integer)

Parameters

channel
Int32

Channel to be checked

channelCount
Int32

Value representing the number of channels on the device which may vary depending on the configuration.

Applies to