What is the code for delayms function? If you have a doubt that optimisation is causing a problem, you could disable optimisation, recompile and check the output (delay time).
Nayani Sumeet Pal Singh <address@hidden>
We tried to put delay in our program but it is not that reliable,
When we do
The output which we get is not 100*100ms but something unexpected. The variable i is not used anywhere else in program. Is it that the optimisation is causing problem, if yes please tell how to remive it.