At 03:12 PM 8/27/2004 +0100, you wrote: >>Your Delay_14.8s routine runs for 14.80000s at 4MHz BTW (according >>to an MPLAB simulation) > >Btw. how did you do this. I was running the mplab IDE simulation on this >code. The green cursor was going up and down on the delay code. from the >speed of it,It would have probably taken the whole night until it would have >gone to the next code line!!. A 400MHz (my CPU) would simulate a 4MHz -tool. >can you make if not real time, at least fast simulation? Clear the stopwatch, set a breakpoint after the delay, and run to the breakpoint. The newer MPLAB simulator is tolerably fast on a 2.4GHz machine. Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body