C# Class Glovebox.IoT.Devices.HATs.ExplorerHatPro

Inheritance: IDisposable
Show file Open project: gloveboxes/Windows-IoT-Core-Driver-Library Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AnalogRead ( AnalogPin pin ) : Windows.Devices.Adc.AdcChannel
Dispose ( ) : void
ExplorerHatPro ( ADS1015 gain = ADS1015.Gain.Volt5 ) : Glovebox.IoT.Devices.Actuators
InitTouch ( ) : void
InitaliseAdcAsync ( ) : System.Threading.Tasks.Task
Light ( Colour colour ) : Led
Motor ( MotorId motor ) : Motor

Method Details

AnalogRead() public method

public AnalogRead ( AnalogPin pin ) : Windows.Devices.Adc.AdcChannel
pin AnalogPin
return Windows.Devices.Adc.AdcChannel

Dispose() public method

public Dispose ( ) : void
return void

ExplorerHatPro() public method

public ExplorerHatPro ( ADS1015 gain = ADS1015.Gain.Volt5 ) : Glovebox.IoT.Devices.Actuators
gain Glovebox.IoT.Devices.Converters.ADS1015
return Glovebox.IoT.Devices.Actuators

InitTouch() public method

public InitTouch ( ) : void
return void

InitaliseAdcAsync() public method

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

Light() public method

public Light ( Colour colour ) : Led
colour Colour
return Glovebox.IoT.Devices.Actuators.Led

Motor() public method

public Motor ( MotorId motor ) : Motor
motor MotorId
return Glovebox.IoT.Devices.Actuators.Motor