Skip to main content
Visitor II
August 30, 2006
Question

Global Variables

  • August 30, 2006
  • 2 replies
  • 622 views
Posted on August 30, 2006 at 09:30

Global Variables

    This topic has been closed for replies.

    2 replies

    ewittAuthor
    Visitor II
    August 30, 2006
    Posted on August 30, 2006 at 09:17

    Hi everybody,

    maybe its some stupid question, but i just don't get it.

    I want to define a global variable which is visible in main() but also in the Interruptserviceroutines like ''void UART0_IRQHandler(void)''.

    Defining it in the main source file doesn't work.

    I get an error message like <''bConn'' is undefined>.

    any hints?

    regards,

    Erwin

    ewittAuthor
    Visitor II
    August 30, 2006
    Posted on August 30, 2006 at 09:30

    k, i got it...

    forgot extern...