I have just gotten an EMX Development System and am trying to create an instance of the PWM class in the GHIElectronics.NETMF.Hardware namespace and I get the following error:
The type or namespace name ‘PWM’ could not be found (are you missing a using directive or an assembly reference?)
here is my very basic code:
using System;
using Microsoft.SPOT;
using GHIElectronics.NETMF.Hardware;
namespace EMX_Application1
{
public class Program
{
public static void Main()
{
PWM foo;
}
}
}
I have also tried the EMX class that exists in the Hardware namespace but that only exposes a Pin object. What am I missing? Any help would be appreciated.