Hello PICsters, some time ago Olin suggested a Master/Slave setup for sending data between PC and PIC project for flow control. I would like any suggestions on how to implement such an approach as i cant use XON/XOFF as those values are possible sent values and I used the simple 3 wire connection so no hardware flow control. Currently I have to set up the PIC to transfere data to 96k of eeporm (6x16k chips) from the PC, then instruct the PC to send. Vice-Versa I have to set up the PC to recieve then instruct the PIC to send. I want to control it all from the PC and the command solution sounds perfect. I would like to instruct the PIC via the PC to send all 96k, or just 1 chip worth ie 16k, or 256 or 32 or 1 bytes of 1 chip. And perhaps the option to view registers, read and write to pins etc. I am curious about the details of previously implemented solutions. ie is the command just 1 byte and kept simple and complex commands made up of several simple ones, are the packets fixed length and are packets used in both directions. I could think up my own possible solutions, but time after time I have spent many many hours implementing a solution then when it all works I think up a better approach or read some clever flexible method on the LIST and end up throwing away all my previous work away and starting again from scratch. So any ideas would be most welcome regarding command structures. regards Justin PS here is the project details A 16f628 connected to the following a MAX232, 6 x 24f128 eeproms via I2C, 16x2 LCD via a shift reg, 3 pin IR demodulator, IR tx LED, and RF 433Mhz RX module. It records commands from a various IR remote stores in EEPROM as a 160 byte command and reproduces them when instructed from a RF TX hand held remote. All is basically working I am just cleaning it up. Code thou buggy and not completly commented can be viewed at http://www.users.bigpond.com/jkrichards/Pic/index.htm for any newbies or anyone interested in how I tied these bits together. No schematic posted yet. (Olin, I have tried to format my code as best I can as you suggested) -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics