Main Site Documentation

Problem with VS2010 & GHIElectronics.NETMF.Hardware reference


#1

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


#2

Have you updated the firmware on your Domino?

http://www.youtube.com/watch?v=a3N0nQRWb08


#3

Yes but i have the same problem ???


#4

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
http://www.tinyclr.com/downloads/Component/FEZ_Components_POT.cs

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


#5

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.


#6

Antonio3:

I put the new project on the WiKi page.

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

you can use this one.