• Static Variables
    Hi everyone, I would like to know if something similar happen to you. Well the issue is that when I declare a variable as a global one in the header file of a module with extern sometimes it loses...
  • STATIC VARIABLE
    Hi experts please don't mind as it is a novice question. Can anyone tell me where the static variable store is it- 1) Heap memory 2) RAM (STACK portion) 3) ROM (FLASH)
  • puts error
    hi, puts ("Line #1"); this outputs Line #1 but puts (""Line #1""); gives error why it is so As i want to output "Line #1"
  • DECLARING VARIABLES (arrays) IN HEADER FILES
    Hi, There is a Q&A in keil database named "GENERAL: DECLARING VARIABLES IN HEADER FILES" It shows how to declare single variables & initialize them in a header file. When I use the same method...
  • Problem with static variable in the functions.
    Hi all. The source C file is... ============================= void a(void) { static unsigned char var1; ... switch(var1){ ... } } ============================== and the error message...