iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.18k stars 1.49k forks source link

SBUS Output + PWM Output #6066

Closed hamishfagg closed 3 years ago

hamishfagg commented 4 years ago

Current Behavior

In 2.5 you can choose either SBUS output or PWM output

Desired Behavior

Allow both SBUS output on a UART and PWM output from the normal pins.

Suggested Solution

Since the sbus output is a serial function can the PWM output be left working?

Who does this impact? Who is this for?

My use case is e.g. a arduino-controlled stepper motor pan with a servo tilt. The arduino can receive sbus and use 3 channels for pan, tilt, and a centering switch without having to use 3 separate PWM outputs.

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label Feature request to this issue, with a confidence of 0.73. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

hamishfagg commented 4 years ago

I can imagine it'll be quite common that when someone enables sbus output for use with sbus servos, they may want to also have PWM output for a normal servo, nav lights, PWM switches etc. and it would be great to be able to use the existing pins on the FC for this.

DzikuVx commented 3 years ago

6106