The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
There have been 3 items by andrewq2
(Search limited from 16-October 20)
I just got my netduino and I'm starting to try to get analog input and I always get 0 when I read my pin(A0). Do you see anything I did wrong?
My setup looks like this
public class Program
public static void Main()
// write your code here
InterruptPort tester = new InterruptPort(Pins.GPIO_PIN_A0, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeBoth);
AnalogInput apin0 = new AnalogInput(Pins.GPIO_PIN_A0);
int test = 0;
test = apin0.Read();
Debug.Print("Test: " + test);