>> The start bit idea is clever! It allows a character to have >> up to 7 dits >> or dahs. You still have to count the bits as they go out (or >> are thrown >> out), though since an all dit character would go to zero as >> soon as you >> throw out the start bit. > > Wouldn't a stop bit be easier? Shift, if result in register is 0 you are > done, else you transmit what is in the carry and shift again. > > Wouter van Ooijen But what would the start bit be? How do you distinguish it from a data bit? The start bit is clever since it's the first 1 after a string of 0s. You just always throw out the leading 1, then interpret what's left. Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist