Content originally posted in LPCWare by xOrElse on Thu Jul 19 10:30:00 MST 2012
Hello,
I have problem with global variable.
Where to put global variable and how to declare it?
In main.c document I put volatile int globala=0; and it's not recognized as global. When I'm in functions I cant use it, the debugger reports it as globala isn't defined. I have no idea what to do. I'm new, and this program is so confusing.
Please help me
P.S. I used to program in C (in school), so basically I understand syntax. Main problem is where in lpcxpresso should I put global variable.