private void OnValueChanged(GpioPin sender, GpioPinValueChangedEventArgs args) { var eventArgs = new DebugStatusChangedEventArgs() { DebugStatus = (args.Edge == GpioPinEdge.RisingEdge) }; DebugStatusChagned(this, eventArgs); }
public void ToggleDebug(object sender, DebugStatusChangedEventArgs args) { Debug = args.DebugStatus; }
private void DebugSwitch_DebugStatusChagned(object sender, DebugStatusChangedEventArgs e) { Debug = e.DebugStatus; }