I'm trying to use a globalVar.h to get my main.c cleaner and tidied up.But I get many errors that me and my colleagues can't understand or solve.
Would some please be so kind and give me a hint what I could have done wrong?
I'm using MPLAB X IDE 3.60 and MPLAB XC8 for my PIC12F1572.
I hope, you can help me!Thanks in advance!
MHeinMHein
1 Answer
Mplab Xc8 Compiler Crack DOWNLOAD. Version 1.42. No license check during preprocessing (XC8-141) A license is no longer checked out when the -pre option is used. Warning for incompatible pointer to void assignment (XC8E-140) The compiler was silently allowing the address of a function to be assigned to a pointer to void. This assignment conversion is illegal.
You declare 4 extern variables in global.h
You need to allocate space in one of your .c modules for these variables. That's also where the initial value assignment goes. They will be set to zero automatically on boot.
Michaël RoyMichaël Roy