Need help multiplexing EUSART output
Hi, The PIC i'm using has only 1 EUSART and I need to send data to 2 different devices without using software serial like SEROUT or SEROUT2.
This is what I want to do:
<img src="http://ii.net/~steven/files/pic1.jpg">
And thus PORTB.6 would control which of the 2 outputs receive the data, and the other output would just be +5v which is the idle voltage anyway.
However i'm having trouble getting it to work. I tried this as a first step:
<img src="http://ii.net/~steven/files/pic2.jpg">
But the data is not getting through. I'm using a Phillips HEF4071PB IC for the OR gates.
Does anyone have any idea why this would not work?
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
Bookmarks