Near the bottom of the tutorial is a section called "Assemblies to Reference"
GHIElectronics.NETMF.Hardware is a suggested reference.
My problem is it does not exist in the 4.2 assemblies, but does exist in 4.1 assemblies.
(since this is a 4.2 tutorial, I am expecting to find it in the 4.2 assemblies)
I thought maybe my “NETMF and Gadgeteer Package 2014 R1” installation had issues so I reinstalled it… same thing, no GHIElectronics.NETMF.Hardware.dll in the 4.2 assemblies.
please let me know what I am doing wrong.
I apologize now if I am doing something stupid.
Thanks for the clarification. You guys build amazing products! I do not have any complaints!
Fill me in on one question.
The first program I always write for every board is to blink the board’s LED.
(I use this simple test to determine if I trashed a board.
The Cobra II echo has an LED, but no pin definition ?.
Does this mean the LED on the Cobra II is not accessible ?
Am I missing a namespace ?
Here is my extremely simple program (which does not build).
OutputPort reference can not be found.
using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using GHI.Premium.Hardware;
using GHI.Premium.Hardware.LowLevel;
using GHI.Hardware.G120;
using GHI.Premium.IO;
using GHI.Premium.Native;
using GHI.Premium.Net;
using GHI.Premium.System;
//ing GHI.Premium.SystemUpdate; // does not exist in namespace Premium
namespace CobraBlinkLed
{
public class Program
{
public static void Main()
{
OutputPort led = new OutputPort((Cpu.Pin)pin, true);
}
}
}
See also the source code to the fez cobra II mainboard (gadgeteer.codeplex.com SOURCE CONTROL > Main > Mainboards > GHIElectronics ): search (using browser page search) for “DebugLedPin”
Thank you! Chalk it up to a stupid user question!
I was missing a reference to Microsoft.SPOT.Hardware.
I expected the ‘using Microsoft.SPOT.Hardware;’ statement to be marked as an error if the assembly is missing, but not true.
At any rate, sorry for cluttering the forum with stupid questions…
No question is “stupid”. The assembly issue comes up quite a bit, and your questions help decide where documentation needs clarification. I ask “stupid” questions when they are in areas where I have little, or no, experience and can’t find a clear answer anywhere.