I just bought some Netduino Plus 2, firmware 4.2, works well with VS2010.
Question: what is wrong with this
AnalogInput input = new AnalogInput(AnalogChannels.ANALOG_PIN_A0)
I am trying to read a voltage in the range 0-3.3VDC at A0...
The VS2010 compiler says:
Error 2 The best overloaded method match for 'SecretLabs.NETMF.Hardware.AnalogInput.AnalogInput(Microsoft.SPOT.Hardware.Cpu.Pin)' has some invalid arguments C:\Users\caestradalaptop\Documents\Visual Studio 2010\Projects\ceCSharpNetduinoPlus2\ceCSharpNetduinoPlus2\Program.cs 23 21 ceCSharpNetduinoPlus2
Also, it is supposed I can jump the pin 3V3 to A0 and see 4095 counts, right?
Suggestions? Thanks in advance!