Main Site Documentation

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



Have you updated the firmware on your Domino?


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

or use the sample app. from the brochure here,


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.



I put the new project on the WiKi page.

you can use this one.