Padu wrote: > I liked the idea, except that I'll have to use a 12F because my > compiler does not support 10F, So don't use a compiler! This kind of simple logic is probably easier to do in assembly anyway. The whole code will be a dozen or two instructions. No matter how you slice it a couple dozen instructions just isn't going to be hard to write. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist