Your error is not related to the soldering. Please shrink your code to that one line and paste the complete code here
Not much to it, just trying to blink the light.
public static void Main()
{
while (true)
{
FEZ_Components.LED greenLight = new FEZ_Components.LED(FEZ_Pin.Digital.IO23);
greenLight.TurnOn();
Thread.Sleep(1000);
greenLight.ShutOff();
Thread.Sleep(1000);
}
}
OK, sorry, must be still asleep. problem is trying to initialize the light inside the loop.
All test out fine. Thanks.
please use code tags so code is redable
public static void Main()
{
while (true)
{
FEZ_Components.LED greenLight = new FEZ_Components.LED(FEZ_Pin.Digital.IO23);
greenLight.TurnOn();
Thread.Sleep(1000);
greenLight.ShutOff();
Thread.Sleep(1000);
}
}
Yes you are initializing the LED in every single loop
here is hte fix
public static void Main()
{
FEZ_Components.LED greenLight = new FEZ_Components.LED(FEZ_Pin.Digital.IO23);
while (true)
{
greenLight.TurnOn();
Thread.Sleep(1000);
greenLight.ShutOff();
Thread.Sleep(1000);
}
}