Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This merge adds support for "analog" aux channels to Silverware to be able to modify certain features on the fly with more than binary digital channels.
It also adds two "analog" aux channels to the Bayang protocol by taking over two of the currently-unused bytes, which requires an updated version of the Multiprotocol Module or Deviation firmware (hopefully to be merged into those projects' master branches at some point after this merge to Silverware).
More info in the discussion on RC Groups:
https://www.rcgroups.com/forums/showthread.php?3121896-Analog-Aux-Channels-for-Silverware
This option (controlled in config.h) adds support for Analog Aux channels to control certain pre-programmed features. These are intended to be used with a transmitter with knobs to easily alter parameters while flying. These are controlled by #define lines in config.h.
Initially, these features include:
These initial features are mostly meant to start a conversation on how Analog Aux channels could be used. For example, I'm sure there are better ways to do live PID adjustment with a couple of analog knobs!
How do you access/assign analog channels? What channels can be used?
For Sbus and DSM, you can assign any of the channels to use as analog aux channels.
For Bayang, you can use a modified version of the Bayang protocol I've made to the Multiprotocol Tx and Deviation Tx firmware that adds two 8-bit analog channels to the protocol.
The Multiprotocol module uses channels 14 and 15 for these analog channels. Set the "Option/Telemetry" value for the Bayang protocol on the Taranis to 2 or 3 (2 to get only the analog channels, 3 to get both Telemetry and the analog channels).
Deviation uses channels 13 and 14. Enable the Analog Aux option for the Bayang protocol. Find Deviation builds for several Devo and Jumper TXs attached to this post.
For both the Multiprotocol module and Deviation, Silverware will not bind with a transmitter that does not have matching options enabled/disabled (both Telemetry and Analog Aux channels).
These modifications can be found on the analog aux branch in my forks on GitHub (for now, you must select the branch rather than master):
https://github.com/brianquad/DIY-Multiprotocol-TX-Module/tree/bayang-analog-aux
https://github.com/brianquad/deviation/tree/bayang-analog-aux