[sci.electronics] Small EE problem!

MMI@PSUVM.BITNET (06/29/89)

Hello Netters,

I have a small problem and I am looking for a solution.
I basically have 4 input lines:1,2,3,4 (with varying voltages).
I also have a switch that can be either on or off.  If
the switch is on, say M is connected to R.  If it is off
then M would be connected to S.  I am expecting four
outputs: A,B,C,D.  The results are tabulated in what follows.



                                        Switch    Switch
    Input                    Output      Off       On

     1 ---                   --- A         1         2
     2 ---                   --- B         2         1

     3 ---                   --- C         3         4
     4 ---                   --- D         4         3

Switch
         R--
      M ----
         S--



Any ideas on how to accomplish this?  The major requirement, I guess,
would be to use only that switch.

*** Michel Maksoud.