Edit

Share via


Mcp3xxx(SpiDevice, Byte, Byte) Constructor

Definition

Constructs Mcp3xxx instance

public Mcp3xxx (System.Device.Spi.SpiDevice spiDevice, byte channelCount, byte adcResolutionBits);
new Iot.Device.Adc.Mcp3xxx : System.Device.Spi.SpiDevice * byte * byte -> Iot.Device.Adc.Mcp3xxx
Public Sub New (spiDevice As SpiDevice, channelCount As Byte, adcResolutionBits As Byte)

Parameters

spiDevice
SpiDevice

Device used for SPI communication

channelCount
Byte

Value representing the number of single ended input channels available on the device.

adcResolutionBits
Byte

The number of bits of resolution for the ADC.

Applies to