Dada Krauter
- Feb 22, 2015
- 28
- Joined
- Feb 22, 2015
- Messages
- 28
Hi everyone
I have question to you:
>>>
I want to use GPS(TX,RX) FT232RL(TX,RX) and XBEE(TX,RX) but my chip only has 2 UART ports(ATmega1284P). So I want to use 74HC4052 multiplexer(> http://www.newark.com/on-semiconductor/mc74hc4052adtg/analog-mux-dmux-dual-4-x-1-tssop/dp/42K0889 <). And I want to write code to control this IC. It has only two control pins(S0, S1) also 1 enable PIN(Grounded = Enabled). I want C code to control channels, can you help me with that?
e.g.
>>>
1) Switch to channel 1
2) Get data1
3) Switch to channel 2
4) Get data2
>>>
Thanks
DADA
I have question to you:
>>>
I want to use GPS(TX,RX) FT232RL(TX,RX) and XBEE(TX,RX) but my chip only has 2 UART ports(ATmega1284P). So I want to use 74HC4052 multiplexer(> http://www.newark.com/on-semiconductor/mc74hc4052adtg/analog-mux-dmux-dual-4-x-1-tssop/dp/42K0889 <). And I want to write code to control this IC. It has only two control pins(S0, S1) also 1 enable PIN(Grounded = Enabled). I want C code to control channels, can you help me with that?
e.g.
>>>
1) Switch to channel 1
2) Get data1
3) Switch to channel 2
4) Get data2
>>>
Thanks
DADA