• Global Variables
    I have had a hard time creating a global variable. In other C progams, all I have to do is just declare it above the Main() function. I am using Dave and the Keil evaluation compiler. I am trying to creat...
  • Global variables
    I have a problem running my program into ram memory if i declare a global variable into my code i have to unchecked the option "use memory layout from target dialog" from L166 options menu. Once i have...
  • Problem with global variables and Interrupt Service Routines
    Hi! I've many interrupt service routines on my current project! But I didn't succeed in passing data between the main function and the ISRs! I declared global variables (no difference if static...
  • Problems with static and global variables
    I'm just starting to learn the ins and outs of the Infineon C167CS-40M and have come across a roadblock in my programming. Any time I try to use global or static variables in my ISR, the data in the...
  • Global Variable.
    In my project I have two files. as follows File A int x; main() { x=2; } File B extern int x; { x=4; } When I compile both files independatly, there is no error. When I link both modules...