computergeekxp wrote: > How can I write a function which encodes data like a > multiplexer, so it can be fed out a pin into a demultiplexer? Is the demultiplexer protocol already set, or is it something you get to pick? How many lines? What data rate? Why do you need to convert to a single signal? What constraints does that signal have? It's rediculous to even begin to suggest anything without a lot more information. It's the wrong time of year for end of semester assignment coming due, but this smells like one. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist