private void OnValueChanged(GpioPin sender, GpioPinValueChangedEventArgs args)
        {
            var eventArgs = new DebugStatusChangedEventArgs()
            {
                DebugStatus = (args.Edge == GpioPinEdge.RisingEdge)
            };

            DebugStatusChagned(this, eventArgs);
        }
Beispiel #2
0
 public void ToggleDebug(object sender, DebugStatusChangedEventArgs args)
 {
     Debug = args.DebugStatus;
 }
Beispiel #3
0
 private void DebugSwitch_DebugStatusChagned(object sender, DebugStatusChangedEventArgs e)
 {
     Debug = e.DebugStatus;
 }