Jump to content
43oh

danieldlo09

Members
  • Content Count

    8
  • Joined

  • Last visited

Reputation Activity

  1. Like
    danieldlo09 reacted to RobG in I can't see a global variable   
    You can right click and Add Watch Expression
  2. Like
    danieldlo09 reacted to chicken in I can't see a global variable   
    Not sure if that's what confuses the debugger, but you don't need the
    extern int unsigned count declaration in main. 
    You only need extern for variables and functions that are declared in another module, i.e. can't be resolved by the compiler. See
    http://stackoverflow.com/questions/496448/how-to-correctly-use-the-extern-keyword-in-c
×
×
  • Create New...