Enable EX3 and EX4 on TX16S in combination with FlySky Hall Gimbal #709
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.
When FlySky digital hall gimbal is used on TX16S, then the right stick analog inputs are unused (FlySky digital hall gimbal is connected to the left analog stick port (UART4) only).
This PR re-enables the analog channels (PA2 and PA3 on STM32F429BIT6) as EX3 and EX4.
Tested on RM TX16S with FlySky Paladin EV gimbals via UART4, stick pots via EX1 and EX2 and further analog channels via EX3 and EX4 (e.g. the Paladin EV stick end switches, that work as 4-position analog switches, can be connected to EX3 and EX4).
Calibration works for EX3 and EX4 as well, just there is no visual output during calibration for these channels (yet).
@richardclli would you be so kind and please review this PR - thank you!