At 11:12 PM 24/10/00 -0700, you wrote: >Could someone point me to a delay routine of about 1 second. Accuracy is >not very important. I am following the suggestion of Fr. Thomas McGahee in >using a delay to allow a MAX232 time to charge. I am using a 16C63A at 20 >MHz. I would like to avoid interrupts. Thanks. > >Glenn Mitchell. How about: **************************** delay: movlw .25 movwf counter1 d1: clrf counter2 d2: clrf counter3 d3: decfsz counter3,f goto d3 decfsz counter2,f goto d2 decfsz counter1,f goto d1 return **************************** Off the top of my head - not tested at all ! Uses 3 variables. Should be vaguely right Regards... -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics