public static void Clear(this GpioPin pin) { pin.Write(PinValue.Low); }
private void OnPinValueChanged(object sender, PinValueChangedEventArgs e) { GpioPin pin = _pins[e.GpioPinNumber]; pin?.OnValueChanged(e); }
public static void Set(this GpioPin pin) { pin.Write(PinValue.High); }