El Thu, Sep 11, 2003 at 08:30:08PM -0700, Scott Dattalo escribio: > > If all you really want is to maintain a balanced data stream, have you > consider other encodings other than Manchester? For the 8 bit positions, > you're only going to get 4-bits of data with manchester. However, I > believe there are 70 combinations of 8-bit patterns where there are 4 1's > and 4 0's (8! / (4! * 4!)). It may make since to reduce this down to just > 64. BTW, Nikolai made this suggestion. Or he could also use some ECC code, so single bit errors can be corrected. If it's allowed to have up to one "1" more than "0"'s, then you can use the ECC sequence: 07 19 2b 34 4c 65 8a 9c a6 ad b1 c9 d2 d5 e3 f8 to encode 4 bits. Perhaps better would be: 13 1c 27 4d 56 75 7a 8e 95 ab b6 b8 c2 d9 e1 ec if large runs of zeros or ones are not allowed. Daniel. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body