>> Of course that this has the down side of using a pin from the >> just for the purpose of controling i2c/spi clock lines. > > Then why not just have two clock lines in the first place? Same number of > pins, less complexity. As long as the PIC is the master of both busses, > software implementations are trivial and the bus lines can easily come > from > any regular I/O pin. You are correct about that. But the advantage of the above scheme is that the serial i/o is handled by the pic's hardware while using the extra pin to do the clocking requires extra software to make the clocking work. Depending on your project, it may very well be 6 of one and 1/2 dozen of the other, so just flip a coin =) -mmj > ***************************************************************** > Embed Inc, embedded system specialists in Littleton Massachusetts > (978) 742-9014, http://www.embedinc.com > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist