AdcChannel
AdcChannel
AdcChannel
AdcChannel
Class
Definition
Represents a single ADC channel.
public : sealed class AdcChannel : IAdcChannel, IClosablepublic sealed class AdcChannel : IAdcChannel, IDisposablePublic NotInheritable Class AdcChannel Implements IAdcChannel, IDisposable// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows IoT Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Devices.DevicesLowLevelContract (introduced v1)
|
Properties
Methods
Close() Close() Close() Close()
Closes the connection on this channel, making it available to be opened by others.
public : void Close()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
Dispose() Dispose() Dispose() Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
This member is not implemented in C++void Dispose()Sub Disposevoid Dispose()
ReadRatio() ReadRatio() ReadRatio() ReadRatio()
Reads the value as a percentage of the max value possible for this controller.
public : double ReadRatio()public double ReadRatio()Public Function ReadRatio() As double// You can use this method in JavaScript.
Returns
double
double
double
double
The value as percentage of the max value.