public class Program { private static OutputPort _led = new OutputPort(Pins.ONBOARD_LED , false); public static bool led { get { return led.Read(); } set { led.Write(value); } } public static void Main() { led = true; Thread.Sleep(Timeout.Infinite); }
how i get it working? thank you