vinodstanur
Advanced Member level 3
- Joined
- Oct 31, 2009
- Messages
- 751
- Helped
- 114
- Reputation
- 234
- Reaction score
- 114
- Trophy points
- 1,333
- Location
- Kerala (INDIA)
- Activity points
- 7,054
Why delay loops are not working in mspgcc ?
I tried to put a delay loop using while loop, for loop etc...But I couldn't observe the delay...
Is the compiler optimizing the code? If so, how could I introduce a delay in mspgcc?
below code is not working
I tried to put a delay loop using while loop, for loop etc...But I couldn't observe the delay...
Is the compiler optimizing the code? If so, how could I introduce a delay in mspgcc?
below code is not working
Code:
for(i=0;i<10000;i++){}