Page 1 of 1

Posted: 05 Feb 2009, 16:19
by cmodica
I need to do something very simple but i can't find an easy way to do that !!!! :

IF A = 1 (switch ON) SEND 2
IF A = 0 (switch OFF) SEND 0

so simple .... but i need help for that, because i can't find a module that send an integer if the condition is true, and an other one if the condition is false ...
Perhap's there is no easy way and i need to build a patch for that ?

thank you

Posted: 05 Feb 2009, 16:37
by 23fx23
I would symply put after the switch "A*B" where B = 2 so at the output of the A*B you get 2 when sw is on and 0 when it's off.
If you need a send comand then use a "pass if change" after that.

Posted: 05 Feb 2009, 22:52
by cmodica
Oh !!! So simple !!! So logical !!! But i didn't think about it ....
Thank you very much.