??? 10/20/10 18:01 Read: times |
#179212 - Software delay loop in C is a no-no Responding to: ???'s previous message |
And have you verified that your C-coded busy loop is actually performing any busy-loop?
The C compiler can throw away your delay since it doesn't do anything. The assember code will perform a delay. So have you verified that your C program isn't actually running, but at very much higher speed than intended - so fast that you can't see the "blink" without an oscilloscope or logic analyzer? |