• 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...
  • 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...
  • Interrupt and global variable
    Hello! I've an Timer-Interrupt Routine (timer 3 with reload) with will served every 10 ms! In this Interrupt-Routine, I send 2 Messages via the CAN Interface. Now, I send the second message straight...
  • 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...
  • Global variable
    In my project I am using four source code files. There is one variable, which is used in all four files. When I declared this variable in one file and compiled the file, the compilation was successful...