We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
When I compiled my C program in keil cx51 the "for loop" is not working what is the solution?
What part of Please also notice the instruction about how to post source code where you unable to understand?
Did you really look at the insttructions how to post source code?
Do your code look like the following?
for (i = 0; i < 10; i++) { ; }
Notice the difference? Your code should look like that if you where following the instructions for posting source code!
By the way: Have you based your code on an example? Which example?
How is Transmit_uart() defined?
What does datadisp() do?
You haven't told us what your problem is. What is happending, and what did you expect to happen?
How have your tried to resolve your problem?
Is the for loop run, or does number_of_ep have an invalid value?
What (incorrect) symptoms do you get?
The instructions on how to post source code are very clearly displayed immediately above the box where you typed your message.
But, if even that isn't enough for you, here's a picture to make it blindingly obvious: www.danlhenry.com/.../keil_code.png