Download Beginner`s Guide to NETMF

Transcript
Let's add it back and make sure our program still runs. Right click on the work ?References? and select ?Add Reference...?
In the new window, select ?.NET? tab and then select ?Microsoft.SPOT.Native? and click OK.
Try the program to make sure its still running. If you have any errors, please go back and read more to fix it before moving on.
7.5 What Assemblies to Add?
Throughout this book, I provide many examples but I do not tell you what assemblies I am using. This is really easy to figure out from the documentation
but you may find it difficult sometimes. Why not just add them all? As a beginner, your applications are still very small so you will have a lot of memory
even if you add all of the assemblies, even if you are not using them. The assemblies below are most commonly used. Add them for all of your projects
for now. Once you know where everything belongs, you can start removing the ones you don't need.
GHIElectronics.NETMF.Hardware
GHIElectronics.NETMF.IO
GHIElectronics.NETMF.System
Microsoft.SPOT.Hardware
Microsoft.SPOT.Native
Microsoft.SPOT.Hardware.SerialPort
Microsoft.SPOT.IO
mscorlib
System
System.IO
Don't forget about using one of the following according to what device you are using. These contain the pin definitions.
FEZMini_GHIElectronics.NETMF.FEZ
FEZDomino_GHIElectronics.NETMF.FEZ.
7.5.1 Threading
This can be a very advanced topic. Note that only very basic information is covered here.
13