public void Set(Outputs output, bool value) { var myOutput = SupportedOutputs.Single(x => x.Output == output); _gpio.Set(myOutput.Pin, value); myOutput.Value = value; }
public static void Blink(this IGPIO gpio) { gpio.Set(); gpio.Unset(); }
public static void Unset(this IGPIO gpio) { gpio.Set(false); }
public static void Set(this IGPIO gpio) { gpio.Set(true); }