Seahawk240 / Microsoft-FS2020-To-Arduino

A Simple Program which enables communication between a Serial Device (like an Arduino) and the Flight Simulator 2020
48 stars 7 forks source link

Quality of Life -> "Send Data only when changed" - Functionality for Serial #20

Closed Seahawk240 closed 3 years ago

Seahawk240 commented 3 years ago

Reintroduce of a "Send Data only when changed" like Functionality of an earlier version, for the serial Port Communication. Thanks to @Discman777 for this idea!

  1. I also wonder if it makes sense to filter the serial data packets coming out (i.e. from FS to Arduino)? So that if the subsequent sample of the variable is unchanged, don’t output it to the serial port. The trick is that it’s still necessary to output unchanged data packets at some less-frequent intervals; otherwise, static data may never be seen. The PC has plenty of computing power to do the data testing and floating point rounding etc. This could help out the weaker Arduino.

Originally posted by @Discman777 in https://github.com/Seahawk240/Microsoft-FS2020-To-Arduino/issues/5#issuecomment-768651661

ollivier44 commented 3 years ago

I think it is a very good idea too.

Discman777 commented 3 years ago

I’ve just submitted an alternative to this. :)

Seahawk240 commented 3 years ago

CLOSED -> Discussion continued in: #37