PIC duplex'n

Thread Starter

andy24691

Joined Nov 25, 2010
42
As the initial part of a project where I have to make a three node lan network, I am making a circuit consisting of 2 PIC's which can do the following.

- Each PIC has two data switch inputs.
- Each PIC should be able to output this data to the other.
- Each PIC should be able to receive this data from the other PIC and output this to LED's which displays the data.

I made a very crude diagram illustrating these requirements.

http://i220.photobucket.com/albums/d...g?t=1300838215

I'm not particularly good at coding PIC's so I would like to know if its alright to stick all these I/Ps and O/Ps on port B. Seems like a good idea to put everything in one place. How can a PIC be coded to pass data from an input of the PIC to an output? i.e. transferring the input data from the switches to an output of the PIC. It seems like it should be straight forward but I can't figure it out.

Any help would be greatly appreciated.

Cheers
 
Thread starter Similar threads Forum Replies Date
A Homework Help 0
Similar threads
PIC duplex'n
Top