static void Main() { var gpio = GpioController.GetDefault(); // Ces deux lignes ouvrent la broche var led = gpio.OpenPin(FEZ.GpioPin.Led1); // sur laquelle est connectée LED1 led.SetDriveMode(GpioPinDriveMode.Output); // Cette ligne la configure en sortie } while { led.Write(GpioPinValue.High); Thread.Sleep(100); led.Write(GpioPinValue.Low); Thread.Sleep(100); }