can constants defined in a file be used in other file without defining ?

i have defined

#define key0  0x35 
in main file and now i want to use key0 in one of included file in this project
but on compilation i get error for this.
Does keil have any provision where i can use defined constants
of one file in other file without redefining them ?

Parents Reply Children
No data
More questions in this forum