C# Class Glovebox.IoT.Devices.Converters.ADS1015

Inheritance: IAdcControllerProvider, IDisposable
ファイルを表示 Open project: gloveboxes/Windows-IoT-Core-Driver-Library Class Usage Examples

Public Methods

Method Description
ADS1015 ( Gain refVoltage = Gain.Volt33 ) : System
AcquireChannel ( int channel ) : void
EnsureInitializedAsync ( ) : System.Threading.Tasks.Task
IsChannelModeSupported ( ProviderAdcChannelMode channelMode ) : bool
ReadValue ( int channelNumber ) : int
ReleaseChannel ( int channel ) : void

Private Methods

Method Description
GetMillivolts ( int channel ) : int
IDisposable ( ) : void

Method Details

ADS1015() public method

public ADS1015 ( Gain refVoltage = Gain.Volt33 ) : System
refVoltage Gain
return System

AcquireChannel() public method

public AcquireChannel ( int channel ) : void
channel int
return void

EnsureInitializedAsync() public method

public EnsureInitializedAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

IsChannelModeSupported() public method

public IsChannelModeSupported ( ProviderAdcChannelMode channelMode ) : bool
channelMode ProviderAdcChannelMode
return bool

ReadValue() public method

public ReadValue ( int channelNumber ) : int
channelNumber int
return int

ReleaseChannel() public method

public ReleaseChannel ( int channel ) : void
channel int
return void