Hi, I am a beginner and am completing the GHI Electronics – Where Hardware Meets Software tutorial. I cannot get my code to compile because of assemblies image attached. What am i doing wrong? Also where can I find a pin diagram for this board. Cant seem to find information anywhere. Tutorials dont help much.
Thanks in advance
*** BTW – what FEZ mainboard are you working with? I assumed a Domino.
Note sure about the native library issue, but why are you including the mscorlib?
I would remove all unused libraries to start with.
I just started up an empty FEZ Domino app, and removed unused usings and this is what I was left with.
using System.Threading;
using GHIElectronics.NETMF.FEZ;
using Microsoft.SPOT.Hardware;
namespace FEZ_Domino_Application1
{
public class Program
{
public static void Main()
{
// Blink board LED
bool ledState = false;
OutputPort led = new OutputPort((Cpu.Pin)FEZ_Pin.Digital.LED, ledState);
while (true)
{
// Sleep for 500 milliseconds
Thread.Sleep(500);
// toggle LED state
ledState = !ledState;
led.Write(ledState);
}
}
}
}