This project is read-only.

Toolbox.NETMF.Hardware.IntegratedADC

This class uses the IADCPort interface.
Requires .NETMF 4.2 or higher

Toolbox.NETMF.Hardware.IntegratedADC(AnalogChannel)
  • AnalogChannel The analog channel channel the pin is connected to

Methods and properties

See the interface IADCPort for a full list of methods and properties

Sample code in C#

IADCPort PotentioMeter1 = new IntegratedADC(AnalogChannels.GPIO_PIN_A0);
PotentioMeter1.RangeSet(0, 100);

Sample code in VB

Dim PotentioMeter1 As IADCPort = New IntegratedADC(AnalogChannels.GPIO_PIN_A0)
PotentioMeter1.RangeSet(0, 100)

Last edited May 31, 2012 at 1:34 PM by Garrcomm, version 3