• Problems with GLOBAL VARIABLES
    HI!, I have a big problem when i define global variables, because the execution programs is doing extranges things. I have 2 task. READ and WRITE void Read (void) _task_ READ _priority_ 0 {...
  • Problem initializing global variables
    Hello! I'm using a AT89c51RC Controller for my application. When I define global variables with an initial value, they are not always initialized correctly. Example: signed int test...
  • 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...
  • 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...
  • 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...