Apologies for the delayed reply, I’ve had quite a busy day in the office today.
I have tried to add a reference Microsoft.SPOT.Hardware.dll file within the 4.2 folder, however Visual Studio keeps on adding a reference to the file found within the 4.1 folder. I don’t suppose you (or anybody else), would know how to get Visual Studio to grab the files I have chosen by chance? I don’t want to risk trying to register them in the GAC if that might end up causing me more trouble, so would rather ask first.
No problem at all, I’ll be online all evening so if you get a chance to find some sample code for getting a Servo moving with 4.1 later this evening, I would really appreciate it, thank you!
Thanks for the link, I got it compiling however I am not sure if I am using it correctly as it’s not moving my servo (and I can confirm the servo moves with an Arduino).
The code I am using is as follows:
public static void Main()
{
var servo = new Servo(FEZ_Pin.PWM.Di6);
while (true)
{
servo.Degree = servo.Degree++;
Thread.Sleep(100);
}
}