Quote:
|
It is normally not a good electrical practice to directly wire 2 outputs together ... as one of them can drive a signal into the other. It can be especially damaging if the INPUT that they are connected to has a high impedance.
|
You can look at a techniquie called wire OR'ing. You wire two or more outputs together, but not directly as you indicated. It can be done with steering diodes, for example: tie all four outputs together through a wire OR into a single interrupt (port B pin). Each pin could also be directly tied to a generic digital input pin. Interrupt fires, then interrupt code reads the generic inputs. The purpose would to tie up only 1 interrupt pin.