Do you have this statement available in your Borland C environment (this was in BC++ Ver 4.52): delay (200); // Delay 200 milliseconds It's included in dos.h and my recollection (earlier this year is that it fairly accurate (it seemed to bounce around a little bit around the nominal value in the that call). RF Jim ----- Original Message ----- From: "Levente Molnar" To: Sent: Thursday, September 19, 2002 10:47 AM Subject: [EE-OT] Delay code on INTEL type processors > Dear PIClisters, > > I have seen, that there are Delay Code Generators for PIC and/or SX > microcontrollers. > What do you think, for an Intel type processor, taking in consideration its > frequency, what else is meaningful to achieve a certain amount of time delay > by software, (eg. for(i=0; i I am trying to adapt a time delay obtained by the loop for(i<0; i<150; i++) > appropriate for a 25MHz 386 embedded CPU, to achieve the same amount of time > delay for a 166MHz 586 embedded CPU. > > Thank you in advance for any hints and suggestions, > > Regards, > > Levente > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads