On Mon, 28 Jan 2008 12:50:35 -0200 John Coppens wrote: > Why not use NRZ(i) code? That code was designed to be 'constant' > intensity, be it for magnetic media. It has the added advantage that it > contains a clock, and polarity is unimportant. Easy to decode and encode > too. I really meant NRZI + manchester coding, of course. It's the manchester coding that evens out the DC level. Though NRZI alone should probably be better than just serial data. John -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist