WDT is set on! andy ----- Original Message ----- From: "James Fitzsimons" To: Sent: Thursday, August 30, 2001 6:30 AM Subject: [PIC]: Delay routines won't work > Hi all, > well, after my brief success with my timer I am kinda stuck again. I am > running the attached code through the MPLAB simulator, and it keeps > resetting half way through the DelayMs routine in servo.c. If I comment this > out it fails in the DelayUs routine immediately below it. I know these delay > routines are ok coz they work in different programs. > > Can anybody help me out with what might be causing this behavour? > > Thanks very much > regards > James Fitzsimons > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads