| ??? 02/18/03 15:27 Read: times |
#39364 - RE: calculating a delay ms and us Responding to: ???'s previous message |
For one thing you are making delay routines in C which is unreliable since any update of the compiler may change your actual code.
Also, you do not relize that your for loop in its most effective conversion to machine code will take 2 instruction cycles (it seems that your compiler makes code that takes 6 instruction cycles, which for this construct seems reasonable). Erik |
| Topic | Author | Date |
| calculating a delay ms and us | 01/01/70 00:00 | |
| RE: calculating a delay ms and us | 01/01/70 00:00 | |
| RE: calculating a delay ms and us | 01/01/70 00:00 | |
| RE: calculating a delay ms and us | 01/01/70 00:00 | |
| RE: calculating a delay ms and us | 01/01/70 00:00 | |
| RE: calculating a delay ms and us | 01/01/70 00:00 | |
| RE: calculating a delay ms and us | 01/01/70 00:00 | |
| RE: calculating a delay ms and us | 01/01/70 00:00 | |
| RE: calculating a delay ... addendum | 01/01/70 00:00 | |
RE: calculating a delay ... addendum | 01/01/70 00:00 |



