2 way switch?

A place for developers to share ideas and assist each other in solving problems.

Moderators: valis, garyb

Post Reply
User avatar
Neutron
Posts: 2274
Joined: Sun Apr 29, 2001 4:00 pm
Location: Great white north eh
Contact:

Post by Neutron »

is there a way to have a control (potentiometer or whatever) switch to a different pad, and change to the value of the pad.

for example say you had 2 gain stages,
and you only wanted one knob to control both of them (pretty pointless in this example but it is simplified)

when the switch was in "a" position you could control the first gain stage. and when you switch to "b" the knob moves to whatever the current value of the second stage is. then you can adjust it.

normally if you do that the value of the second stage would change to whatever the knob was at.

any ideas?
Nikko
Posts: 102
Joined: Wed Jul 04, 2001 4:00 pm
Location: DADEV.com
Contact:

Post by Nikko »

You should use the "IF" to check if the button it as stage "a", and change a switch according to this result.
User avatar
Neutron
Posts: 2274
Joined: Sun Apr 29, 2001 4:00 pm
Location: Great white north eh
Contact:

Post by Neutron »

I ended up using a signal switch backwards. along with selector buttons in "radio button" mode5. I did not know it could send value from output to input. it works great!

radio buttons are really easy without if gates by the way.

1: set all the buttons to function 5
2: set the max on all the buttons to the value you want it to output when pressed(including 0 for the first button if its for a switch)
3 connect all the buttons to the same pad.that pad is now the value output for the switch.

thats it. you made radio buttons:)
Post Reply