Thanks for the code protect advice but I'm using a flash PIC. I'm going to look for the Elapsed Timer now.