예제 #1
0
 public static void Clear(this GpioPin pin)
 {
     pin.Write(PinValue.Low);
 }
예제 #2
0
        private void OnPinValueChanged(object sender, PinValueChangedEventArgs e)
        {
            GpioPin pin = _pins[e.GpioPinNumber];

            pin?.OnValueChanged(e);
        }
예제 #3
0
 public static void Set(this GpioPin pin)
 {
     pin.Write(PinValue.High);
 }