Toolbox.NETMF.Hardware.Fez.ADC

This class uses the IADCPort interface.

Toolbox.NETMF.Hardware.Fez.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 Fez.ADC((AnalogIn.Pin)FEZ_Pin.AnalogIn.An0);
PotentioMeter1.RangeSet(0, 100);

Last edited May 31, 2012 at 1:35 PM by Garrcomm, version 2