unsigned char Send_SPI;
this program will loop in the main method until a periodic timer event occurs, then it will send out an spi packet. My problem is that when i use the #include in my main.c as well as in my events.c file, I get the Linker error L1818 Send_SPI duplicated in main.c.o and events.c.o
I guess my question is how do I just do a simple #include "myfile.h" and use the variable located in there without getting this linker error?
Added p/n to subject.
Message Edited by NLFSJ on 2008-04-08 04:34 PM