Trim button as toggle mode for gyro gain

More
02 Jan 2014 17:19 #17751 by yidc
Hi,

I'm using my devo7e for mini cp, but since it doesn't have enough switches, I'm scratching my head to find alternatives for different functions/modes.

I want to make my trim button to make my gyro gain toggle between 50 or 75
I know that trim button can be used as toggle mode (i.e. -100/+100), I've sent up a virtual channel (Virt3) for it to take effect

BUT my gyro gain channel (ch7) either has no effect or simply also toggles between -100 and +100
how can I make use of trim button, virtual channel and other complex mixer to make ch7 toggles between 50 and 75? :unsure: :unsure: :unsure:
Attachments:

Please Log in or Create an account to join the conversation.

More
02 Jan 2014 18:42 #17762 by PhracturedBlue
Replied by PhracturedBlue on topic Trim button as toggle mode for gyro gain
We probably need better documentation for this.

I just realized my instructions are incomplete.
To make it work you need to:

on the mixer, select the channel from above (Virt1)
set the type to 'complex'
set the src to 'Virt1' (do this BEFORE setting the curve to fixed)
set the Curve to 'fixed'
set the scale to 0
set the trim...


That 2nd step is why it isn't working for you.
There are a couple other issues though. You should use Virt3 as a switch rather than an input (since it's value will be -100 to 100)

Here is a fixed up ini (I am not sure I got everything right, but the trims now work)

File Attachment:

File Name: model3.ini
File Size:2 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
03 Jan 2014 02:31 - 03 Jan 2014 02:32 #17801 by yidc
Replied by yidc on topic Trim button as toggle mode for gyro gain
Thanks PB for your answer!!! the trim button now work as expected

btw I changed mux of 2nd page mixer to "add", so now gyro gain (ch7) toggles between 50 and 75 now
Last edit: 03 Jan 2014 02:32 by yidc.

Please Log in or Create an account to join the conversation.

More
03 Jan 2014 22:15 #17893 by PhracturedBlue
Replied by PhracturedBlue on topic Trim button as toggle mode for gyro gain
I have updated the User's manual with step-by-step instructions for setting up a trim as a virtual switch now. The instructions vary slightly from my previous recommendation to make it a bit more obviuos what is going on.

Please Log in or Create an account to join the conversation.

Time to create page: 0.044 seconds
Powered by Kunena Forum