Could you provide a reference page on doing this or perhaps some code I can look at? I'm not even sure of the specifics yet. The overall idea is to use a pic to drive a series of led's. Each one would get a series of pulses to control their brightness (smoothed out with a capacitor). This is not an assignment; i'm not in college yet. Olin Lathrop wrote: > > 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 > > -- View this message in context: http://www.nabble.com/Programming-and-De-Multiplexers-tp19043223p19123315.html Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist