2008-01-01 08:18 PM
2007-12-31 11:05 PM
you can define it as ''int fofo;'' in one file and as ''extern int fofo;'' in the other.
There is more fancy way to do the same - via include file. If you would try Google for ''creating global variable in c'' you would be surprized with the results :) http://www.imada.sdu.dk/~svalle/courses/dm14-2005/mirror/c/2008-01-01 08:18 PM
Thank you for your reply.
Now it's working properly Regards. ALFA2008-12-31 12:03 AM
Hello all,
My question is easy for you, sure. How I can create a global variable ? (I use IAR Workbench) That's, a variable that I can see in main.c and in 71x_it.c (interrupt routines). How can I do it?? Yes, I'm totally newbie. Thank a lot ALFA