On May 13, 2005, at 6:16 AM, rumpelteazer666 wrote: > when i'm working on the code i always think "there's no need for it, > this is so simple and selfexplanatory!" It is especially important to comment things that look like common mistakes, like your: while(B0!=1); Look at the number of people assumed that was wrong or suspect! It looks OK to me, based on your text, but I would have written: while (B0 != 1) ; /* Spin waiting for B0 = 1 */ BillW -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist