??? 10/04/09 20:25 Read: times |
#169402 - Delay loops in 'C'... Responding to: ???'s previous message |
... are OK for simple examples like this, but not good for real applications - see: http://www.8052.com/forum/read/162556
Also, beware that the compiler is fully entitled to ignore (or "optimise") any code that does essentially nothing - such as a delay loop. To avoid this, you at least need to specify your loop counter as 'volatile' http://www.netrino.com/Embedded-...le-Keyword |
Topic | Author | Date |
A doubt about programming the P89v51RD2. | 01/01/70 00:00 | |
I'm programming in C for the first time | 01/01/70 00:00 | |
I take it that you are programming for the first time.. | 01/01/70 00:00 | |
FAQ | 01/01/70 00:00 | |
Another Problem! | 01/01/70 00:00 | |
Large number | 01/01/70 00:00 | |
How to post legible source code | 01/01/70 00:00 | |
Delay loops in 'C'... | 01/01/70 00:00 | |
Thank you. | 01/01/70 00:00 | |
Did you not notice? | 01/01/70 00:00 | |
I did notice the indentation. | 01/01/70 00:00 | |
skim through the FAQ's (edited) | 01/01/70 00:00 | |
what your (missing) comments state![]() | 01/01/70 00:00 |