qBot flip toggle from TRN switch

Programing help and example for all firmwares based on thus's th9 firmware.
Post Reply
User avatar
JohnEdwa
Posts: 16
Joined: Wed Jul 25, 2012 9:45 pm
Country: -

qBot flip toggle from TRN switch

Post by JohnEdwa »

Turnigy micro qBot / HiSky FF120 enables automatic flips when CH5 is at 100% and you give full ELE or AIL.
These flips are ridiculously fast, and even if you map the channel to the TRN switch, you can easily flip twice while correcting after the first flip.

I modified the simulated arming toggle to map the CH5 so that when I flick TRN, it sets CH5 to 100%, and the moment you give 80% AIL or ELE, CH5 is set back to -100%.
The switches are pretty simple, SW1, SW2 and SW3 monitor the AIL and ELE, SWA enables the mode and SWB disables it.

What I would like to add to the SWB is so that you could also cancel this by hitting TRN again, but that the mode wouldn't be enabled until you release TRN, and then press it again.
The problem here is that everything I try either doesn't work at all, or just starts bouncing between enable/disable while TRN is held down.
Attachments
flipper.eepm
(1.15 KiB) Downloaded 306 times

Post Reply

Return to “er9x / gruvin9x / th9 based firmwares”