Are you talking about parallel-to-serial in general, or meeting some
hardware or software signaling standard?
Because in general you would use a shift or rotate command after testing
the bit at whatever end you are shifting away from.
It also might depend on what PIC architecture you're planning to use,
and what language.
But I've already invested more time in my response than you did in your
original question. The ball's in your court now.
Cheerful regards,
Bob
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? I understand the function a
> de/multiplexer but not its intricacies.
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist