James Newtons Massmind wrote: > > you can use the code to correct one-bit errors OR you can use it > > to detect one- and two-bit errors. You can't do both, because a > > two-bit error in one codeword can look identical to a one-bit > > error in another. > > I take it that one could not set bit 7 only when there is a > non-correctable error? Correct, James. With my simple Hamming code, it's impossible to differentiate between a correctable one-bit error and a non- correctable two-bit error (or, for that matter, between zero errors and three errors). -Andy === Andrew Warren - fastfwd@ix.netcom.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist