Hi
I am new to Netduino or anything like this so please help if I am posting this in the wrong place or anything like that.
I am a C# developer and so far have nothing but good things to say about the netdruino and love working with it.
Currently I am having a small issue I have a basic blinky working on the netduino plus 2 running version 2.somthing
I then took an RGB Led and got it producing the three primary colours, I then removed all my code and wrote one pwm line of code with all the setup things I needed to do.
When I up loaded this nothing happened no lights came on or any thing I then tried to roll back to blinky and I get the error
... cannot attach debugger engine!
Error 1 Unable to communicate with device USB:Netduino
Please help I am going crazy Not being able to play with my netduino.
The code that broke my favorite toy
static PWM ledgreen = new PWM(Pins.GPIO_PIN_D6);
const uint period = 3 * 1000 * 1000; // 3 ms
const uint duration = 1 * 1000 * 1000; // 1 ms
public static void Main()
{while (true)
{
ledgreen.SetPulse(period, duration);}
}
Thanks
Graham