Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/12/04 15:07
Read: times


 
#68366 - RE: Assembly works but C...
Responding to: ???'s previous message
My following C code is not working...
how? What does it do?
This is my first C program, What it does is jsut toggles the output at 2 ports. No much significance.

If it "toggles the output at 2 ports" it works!.
what DOES it do, not what is it SUPPOSED to do?

Does "void LongDelay();" not give you a warning or an error?
No there are no errors or warning messages.

There must be, it is wrong, should be:
void LongDelay(void);"

I made some changes for to STARTUP.A51 after going through http://www.keil.com/support/docs/2659.htm
but still my code doesnt work.
This is done only to understand the C environment...

DO NOT try to understand "the C environment" before you understand C.

Let Keil handle "the C environment" for you and get the C to work. I did Keil C for years before I had any reason to "study" "the C environment".

When you have problems, solve the problems instead of getting sidetracked by "studying environments". Most PC C programmers probably do not even know that such an animal exist.

Erik

List of 22 messages in thread
TopicAuthorDate
Assembly works but C...            01/01/70 00:00      
   RE: Assembly works but C...            01/01/70 00:00      
      RE: Assembly works but C...            01/01/70 00:00      
         RE: Assembly works but C...            01/01/70 00:00      
            RE: Assembly works but C...            01/01/70 00:00      
               RE: Assembly works but C...            01/01/70 00:00      
   RE: Assembly works but C...            01/01/70 00:00      
      RE: Assembly works but C...            01/01/70 00:00      
         STARTUP.A51            01/01/70 00:00      
            RE: STARTUP.A51            01/01/70 00:00      
               RE: STARTUP.A51            01/01/70 00:00      
                  Stand Still...            01/01/70 00:00      
                     RE: Stand Still...            01/01/70 00:00      
                  RE: STARTUP.A51            01/01/70 00:00      
               RE: STARTUP.A51            01/01/70 00:00      
         function for LCD in C...            01/01/70 00:00      
            RE: function for LCD in C...            01/01/70 00:00      
      RE: Assembly works but C...            01/01/70 00:00      
         RE: Assembly works but C...            01/01/70 00:00      
            RE: Assembly works but C...            01/01/70 00:00      
               RE: Assembly works but C...            01/01/70 00:00      
            RE: Assembly works but C...            01/01/70 00:00      

Back to Subject List