By the way, a cute way to encode morse: Use 0 to encode dot, 1 for dash. left shift into carry, do the dot or dash, do the inter-element spacing, THEN examine the byte. When the byte, AFTER shifting is zero, then you're done. E = * = 00000000b T = - = 10000000b A = *- = 01000000b and so on. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist