This project is read-only.

Toolbox.NETMF.Hardware.Netduino.ADC

This class uses the IADCPort interface.

Toolbox.NETMF.Hardware.Netduino.ADC(Pin)
  • Pin The analog input pin

Methods and properties

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

Sample code in C#

IADCPort PotentioMeter1 = new Netduino.ADC(Pins.GPIO_PIN_A0);
PotentioMeter1.RangeSet(0, 100);

Sample code in VB

Dim PotentioMeter1 As IADCPort = New Netduino.ADC(Pins.GPIO_PIN_A0)
PotentioMeter1.RangeSet(0, 100)

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