Blink an both the onboard and external leds.
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.NetduinoPlus;
namespace NetduinoPlusApplication1
{
public class Program
{
public static void Main()
{
OutputPort blu_led = new OutputPort(Pins.GPIO_PIN_D0, false);
OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);
while (true)
{
led.Write(true);
blu_led.Write(false);
Thread.Sleep(250);
led.Write(false);
blu_led.Write(true);
Thread.Sleep(250);
}
}
}
}