This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#define COUNT 2000

can any one give me the meaning of following line

#define COUNT  2000
#define KEY2    0x2F
#define KEY1    0xF8

COUNT,KEY2,KEY1 are the name's given which we going to use next in the prog. but what is 2000,0x2F,0xF8 is address i.e memory location or simply just value.

Parents
  • What do you exactly mean by "hijacking" a thread?
    "HI-JACK" a THREAD, Pleeease,

    All along have been working on the same project,
    so much for your research on the threads,

    Did you happen to see that they were on different topics all related to the same thing?

    For instance,
    http://www.keil.com/forum/docs/thread8507.asp
    was about 'Accessing absolute memory locations'

    http://www.keil.com/forum/docs/thread8478.asp was as you see, what was wrong with the program, i was not getting the output, you guessed or suggested there could be a mismatch in speed of PC and chip,

    Eric said rightly, "why did you hijack THIS thread instead of starting a new?"
    Agree with him,
    While searching for answers from other threads i had totally overlooked the fact that it was started by somebody else, so wrote in my program in Mr. Danish's thread on an impulse,

    are you moderating for KEIL FORUM?

Reply
  • What do you exactly mean by "hijacking" a thread?
    "HI-JACK" a THREAD, Pleeease,

    All along have been working on the same project,
    so much for your research on the threads,

    Did you happen to see that they were on different topics all related to the same thing?

    For instance,
    http://www.keil.com/forum/docs/thread8507.asp
    was about 'Accessing absolute memory locations'

    http://www.keil.com/forum/docs/thread8478.asp was as you see, what was wrong with the program, i was not getting the output, you guessed or suggested there could be a mismatch in speed of PC and chip,

    Eric said rightly, "why did you hijack THIS thread instead of starting a new?"
    Agree with him,
    While searching for answers from other threads i had totally overlooked the fact that it was started by somebody else, so wrote in my program in Mr. Danish's thread on an impulse,

    are you moderating for KEIL FORUM?

Children