Tlc1543.ReadChannel(Channel, Channel) Method

Definition

Reads sensor value. First cycle: Ask for value on the channel channelNumber. Second cycle: Return value from the channel while charging nextChannelToCharge.

public int ReadChannel (Iot.Device.Tlc1543.Channel channelNumber, Iot.Device.Tlc1543.Channel nextChannelToCharge = Iot.Device.Tlc1543.Channel.SelfTestHalf);
member this.ReadChannel : Iot.Device.Tlc1543.Channel * Iot.Device.Tlc1543.Channel -> int
Public Function ReadChannel (channelNumber As Channel, Optional nextChannelToCharge As Channel = Iot.Device.Tlc1543.Channel.SelfTestHalf) As Integer

Parameters

channelNumber
Channel

Channel to be read

nextChannelToCharge
Channel

Next channel to charge

Returns

A 10 bit value corresponding to relative voltage level on specified device channel

Applies to