Software Configuration:
Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework Version 4.0.30319 SP1Rel
Installed Version: C# Express
Microsoft .NET Micro Framework v4.1 01014-169-2560017-70602
Microsoft .NET Micro Framework SDK v4.1 Version 4.1.2821.0
Microsoft Visual C# 2010 01014-169-2560017-70602
Microsoft Visual C# 2010 Express - ENU Service Pack 1 (KB983509) KB983509
In addition to the above, I downloaded and installed the netduinosdk_32bit.exe
As soon as I attempt to instantiate a new instance of AnalogInput, I get "An unhandled exception of type 'System.NotSupportedException' occurred in SecretLabs.NETMF.hardware.dll".
I would have attempted to step into the assemblies using Red Gate .NET Reflector, except that Reflector does not integrate with the Express edition of Visual Studio 2010. But using Reflector, I can see that the AnalogInput constructor makes a call to an externally implemented method ADC_Enable() whose implementation I can't locate:
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void ADC_Enable(uint pin);
Thanks for any help!!!
Tom