??? 06/28/07 00:17 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#141311 - Don't use for delays Responding to: ???'s previous message |
L .sunder Murthy said:
for(i=0;i<500;i++);//delay Using "for" loops in 'C' as timing delays is extremely bad practice and not recommended. At best it's imprecise, at worst the compiler optimization may eliminate the "delay" completely. Regards, Craig Steiner |
Topic | Author | Date |
Ads 1256 | 01/01/70 00:00 | |
Code not complete | 01/01/70 00:00 | |
Don't use for delays![]() | 01/01/70 00:00 |