Problem with VS2010 & GHIElectronics.NETMF.Hardware reference

Hi, i use the domino for a simple telemetric application,
i whant read 2 potentiometers some this example…

but when i call reference this dll for use the “AnalogIn”,
in the build i recive this error :

Micro Framework application: Managed’ has exited with code 0 (0x0).

I use Visual studio 2010 whit GHI NETMF v4.1 SDK

regard

Have you updated the firmware on your Domino?

[url]- YouTube

Yes but i have the same problem ???

I looked at the download file.
It seem to me that it is old, it use VS8 Express.
the assemblies on that app. is older than the one on the FEZ devices.

So you probably have to create a new project and use the driver,
either from the FEZ_Pot app. or here
[url]http://www.tinyclr.com/downloads/Component/FEZ_Components_POT.cs[/url]

or use the sample app. from the brochure here,
[url]http://www.tinyclr.com/downloads/Component/Broch_POT.pdf[/url]

Looking at output of VS, it looks like there are two version of GHI SDK being referenced, 4.0 and 4.1.

The message [quote]Micro Framework application: Managed’ has exited with code 0 (0x0).
[/quote] is the clue.

Make sure software on device and SDK are the same.

Antonio3:

I put the new project on the WiKi page.

[url]http://www.microframeworkprojects.com/index.php?title=File:FEZ_Domino_POT.zip[/url]

you can use this one.