コード例 #1
0
        /// <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));
        }
コード例 #2
0
 /// <summary>
 /// Displays PWM frames as they arrive.
 /// </summary>
 private void OnChannelsChanged(object sender, PpmFrame frame)
 {
     // Write contents to the debug output
     Debug.WriteLine(frame);
 }