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

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