Two 18F4550 and One 74HC595 line How to ?


Results 1 to 3 of 3

Threaded View

  1. #3
    Join Date
    Jan 2009
    Posts
    2

    Post

    Thank you very much for your atention Mirter_e.
    A "busy line" would work just fine but I´ve just realized that there´s need to know which computer has set which I/O. I am not sure if explain myself. Whenever PC1 sets an I/O port it is supposed to be shown in the PC2 and vice-versa. (USB Read and Write).

    So here´s my idea from your tip. What if we have only one pic reading from or writing the I/O expander and whenever the second pic needs to do so, it just "tells" it to the pic number one through I2C ? Is it possible to have a bilateral comuniction with I2C ? See attached file.
    I have no idea how the interruptions would work in this configuration

    What do you say ???
    Attached Images Attached Images  
    Last edited by pretourian; - 22nd January 2009 at 23:42.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts