> could someone explain how to lengthen the pause created by this code? Keep > in mind I don't know any assembler. > > ... > > movlw .124 > movwf t1 > clrwdt > DECFSZ t1,f > GOTO $-2 > return The time is proportional to the MOVLW value, plus a small constant. The actual time depends on the clock speed. Adjust it relative to what you are getting now, although 256 is the maximum value you can change the 124 to. However, it's not a good idea to go messing with something you don't understand. I recommend you either learn the assembler, do it in a language you do understand, or get someone who does understand it to do it. ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@cognivis.com, http://www.cognivis.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu