/// <summary> /// Updates the display when the <see cref="Device"/> channels change. /// </summary> private void OnChannelsChanged(object sender, PpmFrame frame) { // Dump statistics to output WriteOutput(frame.ToString()); // Update display DoPropertyChanged(nameof(Device)); }
/// <summary> /// Displays PWM frames as they arrive. /// </summary> private void OnChannelsChanged(object sender, PpmFrame frame) { // Write contents to the debug output Debug.WriteLine(frame); }