povlhp / iBus2PPM

Arduino code to read iBus over serial port, and output PPM to FlightController. Future plans include PWM out for select channels.
GNU General Public License v3.0
34 stars 16 forks source link

Adding APM compatible channel 5 (flight mode) translation #2

Closed tednv closed 7 years ago

tednv commented 7 years ago

this is what I'm using for my APM 2.8 quad with FlySky radio, works perfectly for selecting six flight modes using channel 9 SWC and SWD. I'm also using CH5 + CH6 to control a 2 axis gimbal directly on pwm output channels using the two potentiometer controls

tednv commented 7 years ago

please try the latest version, ppm chans needs to be set to 10, i removed the readRX() line since the 11th channel is actually a dummy channel used as offset and doesn't get translated to ppm.

tednv commented 7 years ago

i put in new pull request with cleaned up code