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.
"can any one give me the meaning of following line"
Other than the author or provider of the software, no.
"or simply just value."
As far as the snippet you've provided goes, they are just values. How they might subsequently be used (or abused) elsewhere is completely impossible to tell!
Today's lesson is: always fully comment all definitions!
The comments should answer your questions!
i have some sample prog. in that some are act like address while some are limit's value(higher and lower limit value) some number's are used twise or thrise that are definatly not addresses. they are also not a value. so what is that
I think your time would be better spent in studying your 'C' textbook rather than worrying about Keil's internal policies!
http://www.keil.com/forum/docs/thread8516.asp
sorry but there is some thing that u don't know and on that thing u r working
y r u 2 la-z 2 rite "you" etc?
just in case, as so often it is, the poster can not understand "back at you" here it is spelled out
If you are too lazy to write you, why should we not be too lazy to answer?
Erik
"As you say this is "sample" code, you need to ask yourself whether your time is going to be better spent trying to understand the "sample", or if you'd be better off just writing it yourself from scratch!"
Then what will the other person do, sit jobless?
"Better off just writing it yourself from scratch!" Then i wonder what is there for the other person to do, to sit jobless?
"Then what will the other person do, sit jobless?"
What other person?
If you mean the one who provided the "sample", then they ought to be fired for writing such rubbish, and setting such a bad example!
"If you mean the one who provided the "sample", then they ought to be fired for writing such rubbish, and setting such a bad example!" Thats right, So, i'l fire the "sample program" for giving all the trouble ... why i never thought about it earlier...
Then i wonder what is there for the other person to do, to sit jobless ?
writing "sample code" and publishing it on the net so anyone can use it fro free is hardly a "job"
If, however YOU are "the other person" and will "sit jobless" unless there is code to copy beacuse you are incapable of writing it yourself --- tough luck,
"why i never thought about it earlier..."
Why? Just not thinking about all options, I suppose.
You are the one person who's got an answer for every question on this forum
Not bad,
Sarcastically, of course,
Trying to write working code on our part is not harmful, right,
And Trying with no result to show, equal to "sitting jobless" ?
Trying to write working code on our part Then show the code ans state the exact problem>
Trying to write working code on our part ... with no result to show,
How can you write something and have nothing to show?
"How can you write something and have nothing to show?"
Errr.... use invisible ink?! ;-)
" use invisible ink?! " ink, on PC or 8051 ...
i mean, output for the program,
View all questions in Keil forum